Skip to content

Commit 20fbbc9

Browse files
author
jon.m.reid
committed
Fixing grammar in test
1 parent 69f4ab3 commit 20fbbc9

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎hamcrest-unit-test/src/main/java/org/hamcrest/collection/IsArrayTest.java‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,25 @@ protected Matcher<?> createMatcher() {
1313
return array(equalTo("irrelevant"));
1414
}
1515

16-
public void testMatchesAnArrayThatMatchingesAllTheElementMatchers() {
17-
assertMatches("should matches array that contains 'a'",
16+
public void testMatchesAnArrayThatMatchesAllTheElementMatchers() {
17+
assertMatches("should match array with matching elements",
1818
array(equalTo("a"), equalTo("b"), equalTo("c")), new String[]{"a", "b", "c"});
1919
}
2020

2121
public void testDoesNotMatchAnArrayWhenElementsDoNotMatch() {
22-
assertDoesNotMatch("should not matches array with different elements",
22+
assertDoesNotMatch("should not match array with different elements",
2323
array(equalTo("a"), equalTo("b")), new String[]{"b", "c"});
2424
}
2525

2626
public void testDoesNotMatchAnArrayOfDifferentSize() {
27-
assertDoesNotMatch("should not matches larger array",
27+
assertDoesNotMatch("should not match larger array",
2828
array(equalTo("a"), equalTo("b")), new String[]{"a", "b", "c"});
29-
assertDoesNotMatch("should not matches smaller array",
29+
assertDoesNotMatch("should not match smaller array",
3030
array(equalTo("a"), equalTo("b")), new String[]{"a"});
3131
}
3232

3333
public void testDoesNotMatchNull() {
34-
assertDoesNotMatch("should not matches null",
34+
assertDoesNotMatch("should not match null",
3535
array(equalTo("a")), null);
3636
}
3737

0 commit comments

Comments
 (0)