Skip to content

Commit 1773f9b

Browse files
committed
travis on windows
1 parent 5fb97e7 commit 1773f9b

File tree

1 file changed

+7
-1
lines changed
  • code-assert/src/test/java/guru/nidi/codeassert/dependency

1 file changed

+7
-1
lines changed

code-assert/src/test/java/guru/nidi/codeassert/dependency/CycleTest.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,13 @@ private void assertMatcher(String message, DependencyResult result, Matcher<Depe
116116
assertFalse(matcher.matches(result), "Should not match");
117117
final StringDescription sd = new StringDescription();
118118
matcher.describeMismatch(result, sd);
119-
assertEquals(message, sd.toString());
119+
final String s = sd.toString();
120+
for (int i = 0; i < message.length() && i < s.length(); i++) {
121+
if (message.charAt(i) != s.charAt(i)) {
122+
System.out.println("%%%% dif at " + i);
123+
}
124+
}
125+
assertEquals(message, s);
120126
}
121127

122128
private static String base(String s) {

0 commit comments

Comments
 (0)