mirror of
https://github.com/corda/corda.git
synced 2024-12-24 07:06:44 +00:00
Fix unit test failure due to Windows end-of-line characters (#4271)
This commit is contained in:
parent
8f5e62a326
commit
227f5c7e7c
@ -53,6 +53,8 @@ class ClassCarpentingTypeLoaderTests {
|
|||||||
|
|
||||||
val person = personType.make("Arthur Putey", 42, address, listOf(previousAddress))
|
val person = personType.make("Arthur Putey", 42, address, listOf(previousAddress))
|
||||||
val personJson = ObjectMapper().writerWithDefaultPrettyPrinter().writeValueAsString(person)
|
val personJson = ObjectMapper().writerWithDefaultPrettyPrinter().writeValueAsString(person)
|
||||||
|
.replace("\r\n", "\n")
|
||||||
|
|
||||||
assertEquals("""
|
assertEquals("""
|
||||||
{
|
{
|
||||||
"name" : "Arthur Putey",
|
"name" : "Arthur Putey",
|
||||||
|
Loading…
Reference in New Issue
Block a user