Skip to content

Commit

Permalink
fix variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
alb-i986 committed Apr 19, 2020
1 parent 1d1c573 commit 176bd5d
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ public void testMatchesListWhenSizeIsCorrectUsingObjectElementType() {
}

public void testMatchesListWhenSizeIsCorrectUsingStringElementType() {
Map<String, Integer> list = mapWithKeys("a", "b");
assertMatches("correct size", aMapWithSize(equalTo(2)), list);
assertDoesNotMatch("incorrect size", aMapWithSize(equalTo(3)), list);
Map<String, Integer> 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() {
Expand Down

0 comments on commit 176bd5d

Please sign in to comment.