Skip to content

Commit d84988d

Browse files
committed
spacing
1 parent 856b66a commit d84988d

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

src/test/java/com/cedarsoftware/util/CaseInsensitiveMapTest.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1787,19 +1787,19 @@ void testPerformance2()
17871787
}
17881788

17891789
@Test
1790-
void testComputeIfAbsent() {
1791-
CaseInsensitiveMap<String, String> map = new CaseInsensitiveMap<>();
1792-
map.put("One", "Two");
1793-
map.put("Three", "Four");
1794-
1795-
// Key present, should not overwrite
1796-
map.computeIfAbsent("oNe", k -> "NotUsed");
1797-
assertEquals("Two", map.get("one"));
1798-
1799-
// Key absent, should add
1800-
map.computeIfAbsent("fIvE", k -> "Six");
1801-
assertEquals("Six", map.get("five"));
1802-
}
1790+
void testComputeIfAbsent() {
1791+
CaseInsensitiveMap<String, String> map = new CaseInsensitiveMap<>();
1792+
map.put("One", "Two");
1793+
map.put("Three", "Four");
1794+
1795+
// Key present, should not overwrite
1796+
map.computeIfAbsent("oNe", k -> "NotUsed");
1797+
assertEquals("Two", map.get("one"));
1798+
1799+
// Key absent, should add
1800+
map.computeIfAbsent("fIvE", k -> "Six");
1801+
assertEquals("Six", map.get("five"));
1802+
}
18031803

18041804
@Test
18051805
void testComputeIfPresent() {

0 commit comments

Comments
 (0)