Added normalization to simulate platform-specific line endings in a file since breakIntoLines uses the platform line ending
@@ -21,13 +21,13 @@ bb
cc
dd
ee
-""",
+""".denormalize(),
"""
ee
bb
cc
ff
-""")
+""".denormalize())
then:
result ==
@@ -37,7 +37,7 @@ ff
-dd
-ee
- +ff"""
+ +ff""".denormalize()
}
def "handles same files"() {
