Skip to content

Commit

Permalink
Fix test to make assertion about unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
motlin committed Apr 15, 2022
1 parent 0d4c4af commit 6409285
Showing 1 changed file with 3 additions and 2 deletions.
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021 Goldman Sachs.
* Copyright (c) 2022 Goldman Sachs and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v. 1.0 which accompany this distribution.
Expand Down Expand Up @@ -560,7 +560,8 @@ public void withKeyValue()
Verify.assertMapsEqual(UnifiedMap.newWithKeysValues("A", 1, "B", 2), mapWith);

MutableMapIterable<String, Integer> mapWith2 = mapWith.withKeyValue("A", 11);
Verify.assertMapsEqual(UnifiedMap.newWithKeysValues("A", 11, "B", 2), mapWith);
Verify.assertMapsEqual(UnifiedMap.newWithKeysValues("A", 11, "B", 2), mapWith2);
Assert.assertSame(mapWith, mapWith2);
}

@Test
Expand Down

0 comments on commit 6409285

Please sign in to comment.