diff --git a/hamcrest/src/test/java/org/hamcrest/collection/IsMapWithSizeTest.java b/hamcrest/src/test/java/org/hamcrest/collection/IsMapWithSizeTest.java index f0dac041..d76dbe0f 100644 --- a/hamcrest/src/test/java/org/hamcrest/collection/IsMapWithSizeTest.java +++ b/hamcrest/src/test/java/org/hamcrest/collection/IsMapWithSizeTest.java @@ -50,15 +50,15 @@ public void testMatchesListWhenSizeIsCorrectUsingObjectElementType() { } public void testMatchesListWhenSizeIsCorrectUsingStringElementType() { - Map list = mapWithKeys("a", "b"); - assertMatches("correct size", aMapWithSize(equalTo(2)), list); - assertDoesNotMatch("incorrect size", aMapWithSize(equalTo(3)), list); + Map map = mapWithKeys("a", "b"); + assertMatches("correct size", aMapWithSize(equalTo(2)), map); + assertDoesNotMatch("incorrect size", aMapWithSize(equalTo(3)), map); } public void testMatchesListWhenSizeIsCorrectUsingWildcardElementType() { - Map list = mapWithKeys("a", "b"); - assertMatches("correct size", aMapWithSize(equalTo(2)), list); - assertDoesNotMatch("incorrect size", aMapWithSize(equalTo(3)), list); + Map map = mapWithKeys("a", "b"); + assertMatches("correct size", aMapWithSize(equalTo(2)), map); + assertDoesNotMatch("incorrect size", aMapWithSize(equalTo(3)), map); } public void testProvidesConvenientShortcutForHasSizeEqualTo() {