Skip to content

Commit

Permalink
fix: canBeChosung 테스트 코드 오류 수정 (#107)
Browse files Browse the repository at this point in the history
* fix: 호환성을 위해 배열의 마지막 요소 가져오는 부분 수정

* fix: canBeChosung 테스트 코드 오류 수정
  • Loading branch information
jungwoo3490 committed Jun 1, 2024
1 parent 0cd45e4 commit 4d479b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,13 @@ describe('canBeChosung', () => {
expect(canBeChosung('ㅏ')).toBe(false);
});
it('ㅘ', () => {
expect(canBeChosung('')).toBe(false);
expect(canBeChosung('')).toBe(false);
});
it('ㄱㅅ', () => {
expect(canBeChosung('')).toBe(false);
expect(canBeChosung('ㄱㅅ')).toBe(false);
});
it('가', () => {
expect(canBeChosung('')).toBe(false);
expect(canBeChosung('')).toBe(false);
});
});
});
Expand Down

0 comments on commit 4d479b0

Please sign in to comment.