Skip to content

Commit

Permalink
[MDEP-779] Unify line separators for testing under Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
josephw committed Jan 31, 2022
1 parent 407db2b commit 4122b8e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ import org.codehaus.plexus.util.*;

String log = FileUtils.fileRead( new File( basedir, "build.log" ) );

log = StringUtils.unifyLineSeparators(log, "\n");

String expected = "[WARNING] Used undeclared dependencies found:\n"
+ "[WARNING] xml-apis:xml-apis:jar:1.0.b2:compile\n"
+ "[WARNING] class org.apache.xmlcommons.Version\n";
Expand Down

0 comments on commit 4122b8e

Please sign in to comment.