Skip to content

Commit 03b849f

Browse files
committed
fixed tests looking for the wrong results
1 parent 7d84e6c commit 03b849f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/153-isRotated/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ test('The function should return true or false if there is one of the 2 given st
2222
});
2323

2424
test('The function should return true or false if there is one of the 2 given strings rotated.', () => {
25-
expect(isRotated('Learning is fun', 'Lr aen ngiiufs')).toBe(true);
25+
expect(isRotated('Learning is fun', 'Lr aen ngiiufs')).toBe(false);
2626
});
2727

2828
test('The function should return true or false if there is one of the 2 given strings rotated.', () => {
29-
expect(isRotated('Work from Home', 'kfmoemro Hor W')).toBe(true);
29+
expect(isRotated('Work from Home', ' HomeWork from')).toBe(true);
3030
});

0 commit comments

Comments
 (0)