Skip to content

Commit

Permalink
7540: IItemCollectionJsonSerializerTest.java might fail on Windows du…
Browse files Browse the repository at this point in the history
…e to line endings

Reviewed-by: hirt
  • Loading branch information
RealCLanger authored and thegreystone committed Jan 22, 2022
1 parent baa6c77 commit 3d03643
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2021, Datadog, Inc. All rights reserved.
* Copyright (c) 2021, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2021, 2022, Datadog, Inc. All rights reserved.
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
Expand Down Expand Up @@ -66,7 +66,7 @@ public void testSerializeKnownRecording() throws IOException {

String actual = IItemCollectionJsonSerializer.toJsonString(testRecording);

assertEquals(expected, actual);
assertEquals(expected.replaceAll("\\r\\n", "\n"), actual.replaceAll("\\r\\n", "\n"));
}

private String readResource(String resourcePath) throws IOException {
Expand Down

0 comments on commit 3d03643

Please sign in to comment.