Merge pull request #341 from thatblindgeye/updatePalindromes

09_palindromes: update solution test file
This commit is contained in:
Eric Olkowski 2023-04-08 15:51:19 -04:00 committed by GitHub
commit 3e530e3f61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -19,7 +19,7 @@ describe('palindromes', () => {
test.skip('doesn\'t just always return true', () => { test.skip('doesn\'t just always return true', () => {
expect(palindromes('ZZZZ car, a man, a maracaz.')).toBe(false); expect(palindromes('ZZZZ car, a man, a maracaz.')).toBe(false);
}); });
test('works with numbers in a string', () => { test.skip('works with numbers in a string', () => {
expect(palindromes('rac3e3car')).toBe(true); expect(palindromes('rac3e3car')).toBe(true);
}); });
}); });

View file

@ -21,4 +21,7 @@ describe('palindromes', () => {
test("doesn't just always return true", () => { test("doesn't just always return true", () => {
expect(palindromes('ZZZZ car, a man, a maraca.')).toBe(false); expect(palindromes('ZZZZ car, a man, a maraca.')).toBe(false);
}); });
test('works with numbers in a string', () => {
expect(palindromes('rac3e3car')).toBe(true);
});
}); });