aboutsummaryrefslogtreecommitdiff
path: root/test/src/TestAPI.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-01-16 12:13:29 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-01-16 12:13:29 +0100
commitd75cc63e9b1edc229fad225956ba44fa433e2d0e (patch)
tree026093b07a0969d52a1d8c18f8cfc64462c4f05a /test/src/TestAPI.kt
parent555caef67698f6932217419fe63a040cc0aeb822 (diff)
downloaddokka-d75cc63e9b1edc229fad225956ba44fa433e2d0e.tar.gz
dokka-d75cc63e9b1edc229fad225956ba44fa433e2d0e.tar.bz2
dokka-d75cc63e9b1edc229fad225956ba44fa433e2d0e.zip
normalizing line breaks cont'd
Diffstat (limited to 'test/src/TestAPI.kt')
-rw-r--r--test/src/TestAPI.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/TestAPI.kt b/test/src/TestAPI.kt
index f3c5f8c8..efebfeca 100644
--- a/test/src/TestAPI.kt
+++ b/test/src/TestAPI.kt
@@ -54,7 +54,7 @@ public fun verifyOutput(path: String, outputExtension: String, outputGenerator:
val output = StringBuilder()
outputGenerator(it, output)
val expectedOutput = File(path.replace(".kt", outputExtension)).readText().replace("\r\n", "\n")
- Assert.assertEquals(expectedOutput, output.toString())
+ Assert.assertEquals(expectedOutput, output.toString().replace("\r\n", "\n"))
}
}