Skip to content

Commit 8206773

Browse files
committed
Fix: Manually fix syntax error in Piece.test.js to pass linter (Issue #34)
1 parent 11dfb5b commit 8206773

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/core/Piece.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ describe('Piece Class', () => {
163163
});
164164

165165
test('should throw error when resetting unmoved piece', () => {
166-
expect(() => piece.resetMovedStatus()).toThrow("white pawn hasn't moved yet");
166+
expect(() => piece.resetMovedStatus()).toThrow('white pawn hasn\'t moved yet');
167167
});
168168
});
169169

0 commit comments

Comments
 (0)