From 176bd5dc4a04f647388a8aa38d16162139dcfe12 Mon Sep 17 00:00:00 2001 From: Alberto Scotto Date: Sun, 19 Apr 2020 12:56:07 +0200 Subject: [PATCH] fix variable names --- .../org/hamcrest/collection/IsMapWithSizeTest.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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() {