Skip to content

Commit 05e46d9

Browse files
ericbalawejdermirkoperillo
authored andcommitted
Removed zero-width space characters from test methods
1 parent c0ac65e commit 05e46d9

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

exercises/practice/anagram/src/test/java/AnagramTest.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public void testDetectMultipleAnagrams() {
2424
Anagram detector = new Anagram("master");
2525

2626
assertThat(detector.match(Arrays.asList("stream", "pigeon", "maters")))
27-
.containsExactlyInAnyOrder("maters", "stream");
27+
.containsExactlyInAnyOrder("maters", "stream");
2828
}
2929

3030
@Ignore("Remove to run test")
@@ -43,7 +43,7 @@ public void testDetectLongerAnagram() {
4343
assertThat(
4444
detector.match(
4545
Arrays.asList("enlists", "google", "inlets", "banana")))
46-
.containsExactlyInAnyOrder("inlets");
46+
.containsExactlyInAnyOrder("inlets");
4747
}
4848

4949
@Ignore("Remove to run test")
@@ -59,7 +59,7 @@ public void testDetectMultipleAnagramsForLongerWord() {
5959
"clergy",
6060
"largely",
6161
"leading")))
62-
.containsExactlyInAnyOrder("gallery", "regally", "largely");
62+
.containsExactlyInAnyOrder("gallery", "regally", "largely");
6363
}
6464

6565
@Ignore("Remove to run test")
@@ -68,7 +68,7 @@ public void testDetectsMultipleAnagramsWithDifferentCase() {
6868
Anagram detector = new Anagram("nose");
6969

7070
assertThat(detector.match(Arrays.asList("Eons", "ONES")))
71-
.containsExactlyInAnyOrder("Eons", "ONES");
71+
.containsExactlyInAnyOrder("Eons", "ONES");
7272
}
7373

7474
@Ignore("Remove to run test")
@@ -88,7 +88,7 @@ public void testCaseInsensitiveWhenBothAnagramAndSubjectStartWithUpperCaseLetter
8888
assertThat(
8989
detector.match(
9090
Arrays.asList("cashregister", "Carthorse", "radishes")))
91-
.containsExactlyInAnyOrder("Carthorse");
91+
.containsExactlyInAnyOrder("Carthorse");
9292
}
9393

9494
@Ignore("Remove to run test")
@@ -99,7 +99,7 @@ public void testCaseInsensitiveWhenSubjectStartsWithUpperCaseLetter() {
9999
assertThat(
100100
detector.match(
101101
Arrays.asList("cashregister", "carthorse", "radishes")))
102-
.containsExactlyInAnyOrder("carthorse");
102+
.containsExactlyInAnyOrder("carthorse");
103103
}
104104

105105
@Ignore("Remove to run test")
@@ -110,7 +110,7 @@ public void testCaseInsensitiveWhenAnagramStartsWithUpperCaseLetter() {
110110
assertThat(
111111
detector.match(
112112
Arrays.asList("cashregister", "Carthorse", "radishes")))
113-
.containsExactlyInAnyOrder("Carthorse");
113+
.containsExactlyInAnyOrder("Carthorse");
114114
}
115115

116116
@Ignore("Remove to run test")
@@ -146,7 +146,7 @@ public void testWordsOtherThanThemselvesCanBeAnagrams() {
146146
Anagram detector = new Anagram("LISTEN");
147147

148148
assertThat(detector.match(Arrays.asList("Listen", "Silent", "LISTEN")))
149-
.containsExactlyInAnyOrder("Silent");
149+
.containsExactlyInAnyOrder("Silent");
150150
}
151151

152152
}

0 commit comments

Comments
 (0)