Skip to content

Commit

Permalink
Fix coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonLiuY committed Jun 28, 2017
1 parent 2c32be7 commit d4b2a56
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/java/com/worksap/icefig/lang/HashTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ public void testConstruction() {
assertEquals(1, hash1.remove("3").size());
assertEquals(null, hash1.remove("3").get("3"));
assertEquals("Chris Paul", hash1.get("3"));

HashMap<String, String> map = new HashMap<>();
map.put("key", "value");
Hash<String, String> hash2 = Hashes.<String, String>newHash().put("key", "value");
assertEquals(map, hash2.toHashMap());
}

@Test
Expand Down

0 comments on commit d4b2a56

Please sign in to comment.