Update solutions file for palindrome
This commit is contained in:
parent
34d63cc59d
commit
045f1b0306
|
@ -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);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -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);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue