From 5196f04d795d17d47621386fa5458ff110d3d972 Mon Sep 17 00:00:00 2001 From: changwoolab Date: Mon, 23 Sep 2024 10:20:11 +0900 Subject: [PATCH] chore: minor unit test modification --- tests/exhaustive-match.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/exhaustive-match.test.ts b/tests/exhaustive-match.test.ts index 43df8607..5f0d69cf 100644 --- a/tests/exhaustive-match.test.ts +++ b/tests/exhaustive-match.test.ts @@ -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(); });