Skip to content

Commit

Permalink
Update test.
Browse files Browse the repository at this point in the history
  • Loading branch information
strotgen committed Aug 20, 2024
1 parent 615d529 commit d3ffe82
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gb/nino.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ describe('gb/nino', () => {
expect(result.error).toBeInstanceOf(InvalidFormat);
});

it('validate:HO012345E', () => {
// Valid prefix, valid numeric section, invalid suffix
const result = validate('HH012345E');
it('validate:TO012345D', () => {
// Invalid prefix, valid numeric section, valid suffix
const result = validate('TO012345D');

expect(result.error).toBeInstanceOf(InvalidFormat);
});
Expand Down

0 comments on commit d3ffe82

Please sign in to comment.