We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6128f0 commit 3f951d6Copy full SHA for 3f951d6
selfie-lib/src/jvmTest/kotlin/com/diffplug/selfie/LineReaderTest.kt
@@ -49,9 +49,9 @@ class LineReaderTest {
49
}
50
51
@Test
52
- fun shouldGetOSLineSeparatorWhenThereIsNone() {
+ fun shouldGetUnixLineSeparatorWhenThereIsNone() {
53
val reader = LineReader.forBinary("This is a new line".encodeToByteArray())
54
- reader.unixNewlines() shouldBe System.lineSeparator().equals("\n")
+ reader.unixNewlines() shouldBe true
55
reader.readLine() shouldBe "This is a new line"
56
57
0 commit comments