Skip to content

Commit

Permalink
chore: minor unit test modification
Browse files Browse the repository at this point in the history
  • Loading branch information
changwoolab committed Sep 23, 2024
1 parent 979b358 commit 5196f04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/exhaustive-match.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -985,8 +985,8 @@ describe('exhaustive()', () => {
const input = ['a', 'b', 'c'] as Input;

const output = match(input)
.with(P.array(P.string), (value) => 2)
.with(P.string, (value) => 1)
.with(P.array(P.string), (value) => 1)
.with(P.string, (value) => 2)
.with(P.instanceOf(Date), (value) => 3)
.exhaustive();
});
Expand Down

0 comments on commit 5196f04

Please sign in to comment.