mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +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 personJson = ObjectMapper().writerWithDefaultPrettyPrinter().writeValueAsString(person)
|
||||
.replace("\r\n", "\n")
|
||||
|
||||
assertEquals("""
|
||||
{
|
||||
"name" : "Arthur Putey",
|
||||
|
Loading…
Reference in New Issue
Block a user