Skip to content

Commit 34d63cc

Browse files
Merge pull request TheOdinProject#320 from mariustelcean96/patch-2
09_palindromes: Add test for strings with numbers
2 parents 029cf3f + 83d3dcd commit 34d63cc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: 09_palindromes/palindromes.spec.js

+3
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,7 @@ describe('palindromes', () => {
1919
test.skip('doesn\'t just always return true', () => {
2020
expect(palindromes('ZZZZ car, a man, a maracaz.')).toBe(false);
2121
});
22+
test('works with numbers in a string', () => {
23+
expect(palindromes('rac3e3car')).toBe(true);
24+
});
2225
});

0 commit comments

Comments
 (0)