I am writing acceptance test, which validates HTTP response from embedded server. So it looks like
assert((200, """{
| "status" : "OK"
|}""".stripMargin) === (code, response))
so far it works quite well on my Linux box, however when the test is invoked on Windows - it fails.
org.scalatest.exceptions.TestFailedException: "{[
"status" : "OK"
]
}" did not equal "{[
"status" : "OK"]
}"
I think this is because of line endings - those are different in Windows than in Linux. Is there any simple way to provide os-specific line endings in compiled test data?