diff --git a/quartz/src/jvmAndroidTest/kotlin/com/vitorpamplona/quartz/nip01Core/jackson/InliningTagArrayPrettyPrinterTest.kt b/quartz/src/jvmAndroidTest/kotlin/com/vitorpamplona/quartz/nip01Core/jackson/InliningTagArrayPrettyPrinterTest.kt index a24d3575b..80f18dd5c 100644 --- a/quartz/src/jvmAndroidTest/kotlin/com/vitorpamplona/quartz/nip01Core/jackson/InliningTagArrayPrettyPrinterTest.kt +++ b/quartz/src/jvmAndroidTest/kotlin/com/vitorpamplona/quartz/nip01Core/jackson/InliningTagArrayPrettyPrinterTest.kt @@ -49,7 +49,7 @@ class InliningTagArrayPrettyPrinterTest { } """.trimIndent() val json = writer.writeValueAsString(data) - assertEquals(expected, json) + assertEquals(expected.replace("\r\n", "\n"), json) val data2 = mapOf( @@ -65,7 +65,7 @@ class InliningTagArrayPrettyPrinterTest { } """.trimIndent() val json2 = writer.writeValueAsString(data2) - assertEquals(expected2, json2) + assertEquals(expected2.replace("\r\n", "\n"), json2) } @Test @@ -90,6 +90,6 @@ class InliningTagArrayPrettyPrinterTest { val prettified = mapper.writerWithDefaultPrettyPrinter().writeValueAsString(tree) - assertEquals(nostrObject, prettified) + assertEquals(nostrObject.replace("\r\n", "\n"), prettified) } }