Skip to content

Commit c5db21c

Browse files
authored
Update IsEqualCompressingWhiteSpaceTest.java
1 parent 504205b commit c5db21c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hamcrest/src/test/java/org/hamcrest/text/IsEqualCompressingWhiteSpaceTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class IsEqualCompressingWhiteSpaceTest extends AbstractMatcherTest {
99

1010
private final Matcher<String> matcher = equalToCompressingMix(" Hello World how\n are we? ");
1111
private final Matcher<String> SpaceMatcher = equalToCompressingSpace(" Hello World how are we? ");
12-
private final Matcher<String> TABmatcher = equalToCompressingTab(" Hello World how\t are\t\t we? ");
12+
private final Matcher<String> TabMatcher = equalToCompressingTab(" Hello World how\t are\t\t we? ");
1313
private final Matcher<String> LineFeedMatcher = equalToCompressingLineFeed(" Hello World how\n are we? ");
1414
private final Matcher<String> FormFeedMatcher = equalToCompressingFormFeed(" Hello World how\f are\f\f we? ");
1515
private final Matcher<String> CarriageReturnMatcher = equalToCompressingCarriageReturn(" Hello \r World how \r\r are we? ");
@@ -54,7 +54,7 @@ public void testPassesIfWhitespacesContainsNoBreakSpace() {
5454
public void testFailsIfwordsAreSameButWhiteSpaceDiffers()
5555
{
5656
assertDoesNotMatch(SpaceMatcher, " Hello World how\n are we? ");
57-
assertDoesNotMatch(TABmatcher, " Hello World how\n are we? ");
57+
assertDoesNotMatch(TabMatcher, " Hello World how\n are we? ");
5858
assertDoesNotMatch(LineFeedMatcher, " Hello World how\r are we? ");
5959
}
6060

@@ -66,7 +66,7 @@ public void testPassesIfwordsAreSameButMixWhiteSpace()
6666
public void testUnitWhiteSpace()
6767
{
6868
assertMatches(SpaceMatcher, " Hello World how are we? ");
69-
assertMatches(TABmatcher, " Hello World how \t are we? \t");
69+
assertMatches(TabMatcher, " Hello World how \t are we? \t");
7070
assertMatches(LineFeedMatcher, " Hello World how\n are \n we? ");
7171
assertMatches(FormFeedMatcher, " Hello World\f how are we? ");
7272
assertMatches(CarriageReturnMatcher, "Hello World how are we?");

0 commit comments

Comments
 (0)