Permalink
Browse files

JBEHAVE-725: Some unit tests fail on Windows due to cr/lf encoding

convert expected as well as out, otherwise the tests fail if the files
are checkout with cr/lf conversion with tortoisegit
  • Loading branch information...
alexlehm authored and maurotalevi committed Feb 25, 2012
1 parent 940339e commit 756b10ecf126bfef801c3b103aace5019420e6a1
@@ -101,7 +101,7 @@ public static void narrateAnInterestingStory(StoryReporter reporter, boolean wit
}
private void assertThatOutputIs(String out, String expected) {
assertEquals(expected, dos2unix(out));
assertEquals(dos2unix(expected), dos2unix(out));
}
private String dos2unix(String string) {

0 comments on commit 756b10e

Please sign in to comment.