From c9d9af3231a49cb4ef36ec10111b928bd63b7128 Mon Sep 17 00:00:00 2001 From: Bartosz Litwiniuk Date: Wed, 3 Aug 2022 23:44:49 +0200 Subject: [PATCH] Fix unit tests --- src/test/java/backtrace/io/data/AttributesTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/backtrace/io/data/AttributesTest.java b/src/test/java/backtrace/io/data/AttributesTest.java index c8e8771..9cebe7f 100644 --- a/src/test/java/backtrace/io/data/AttributesTest.java +++ b/src/test/java/backtrace/io/data/AttributesTest.java @@ -11,14 +11,14 @@ public class AttributesTest { @Test public void createAttributes() { // GIVEN - final Map clientAttributes = new HashMap<>() {{ + final Map clientAttributes = new HashMap() {{ put("client-attr-1", "1"); put("client-attr-2", null); put(null, null); }}; - final Map reportAttributes = new HashMap<>() {{ - put("report-attr-1", new HashMap<>() {{ + final Map reportAttributes = new HashMap() {{ + put("report-attr-1", new HashMap() {{ put("inner-attr-1", "test"); put(null, null); }}