Skip to content

Commit

Permalink
review-fixstringの比較にtoEqualを使用しない
Browse files Browse the repository at this point in the history
  • Loading branch information
marumoto-goq committed May 2, 2024
1 parent d174aad commit 9f2b016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/convertHyphenatedZipCode.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { goqZipCode } from './goqZipCode';

describe('オプションによってハイフンを付与', () => {
test('オプションでハイフンありを指定している場合、郵便番号にハイフンを追加する', () => {
expect(goqZipCode.convertHyphenatedZipCode('7340001')).toEqual('734-0001');
expect(goqZipCode.convertHyphenatedZipCode('7340001')).toBe('734-0001');
});
});

0 comments on commit 9f2b016

Please sign in to comment.