Skip to content

Commit bb17d34

Browse files
gabriel376cmccandless
authored andcommitted
sync anagram to v1.4.0 (#633)
1 parent fdb23c5 commit bb17d34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/anagram/anagram.spec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ describe('Anagram', () => {
7878
expect(matches).toEqual([]);
7979
});
8080

81-
xtest('capital word is not own anagram', () => {
81+
xtest('words are not anagrams of themselves (case-insensitive)', () => {
8282
const subject = new Anagram('BANANA');
83-
const matches = subject.matches(['Banana']);
83+
const matches = subject.matches(['BANANA', 'Banana', 'banana']);
8484

8585
expect(matches).toEqual([]);
8686
});

0 commit comments

Comments
 (0)