diff options
Diffstat (limited to 'src/junit/com/jogamp')
-rw-r--r-- | src/junit/com/jogamp/common/net/URLCompositionTest.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/junit/com/jogamp/common/net/URLCompositionTest.java b/src/junit/com/jogamp/common/net/URLCompositionTest.java index 9380d79..5d19c1d 100644 --- a/src/junit/com/jogamp/common/net/URLCompositionTest.java +++ b/src/junit/com/jogamp/common/net/URLCompositionTest.java @@ -130,8 +130,10 @@ public class URLCompositionTest extends JunitTracer { } else { expectedOS = expected; } - System.err.println("expected: "+expected+", "+expectedOS); - Assert.assertEquals(expectedOS, actual); + System.err.println("expected: orig "+expected+", OS "+expectedOS); + final boolean equalsA = expected.equals(actual); + final boolean equalsB = expectedOS.equals(actual); + Assert.assertTrue("No match, neither expected orig or OS w/ url", equalsA || equalsB); System.err.println("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"); } |