sbt-aspectj
sbt-aspectj copied to clipboard
Platform-specific tests in example projects
Currently something like this is found in 6 different places in the code base:
val expected = "Printing sample:\nhello\n"
Those tests will all fail on Windows due to the different line separators. Please replace all occurrences by something like:
val LF = System.lineSeparator()
val expected = "Printing sample:" + LF + "hello" + LF
See also: https://stackoverflow.com/a/67427841/1082681