I have the following test
"Matchers" should "ignore whitespace if configured so" in {
" aaa \n \n\r bbb".replaceAll("\\s+", " ") shouldBe "\naaa bbb".replaceAll("\\s+", " ")
}
There is a scalatest idiomatic way to do this?
I have the following test
"Matchers" should "ignore whitespace if configured so" in {
" aaa \n \n\r bbb".replaceAll("\\s+", " ") shouldBe "\naaa bbb".replaceAll("\\s+", " ")
}
There is a scalatest idiomatic way to do this?
I found that there is some normalization for case insensitive comparisons at http://www.scalatest.org/user_guide/using_matchers
I created the following normalizer
The test is now