Skip to content

Commit

Permalink
prettier string test.
Browse files Browse the repository at this point in the history
Co-authored-by: Frederik Eychenié <277455+feychenie@users.noreply.github.com>
  • Loading branch information
igalklebanov and feychenie committed Feb 27, 2023
1 parent a6b1f0b commit 10da48c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deno/lib/__tests__/string.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ test("time parsing", () => {
expect(() => time4.parse("00:00:00.000")).toThrow();
expect(() => time4.parse("00:00:00.000+00:00")).toThrow();
});

test("IP validation", () => {
const ip = z.string().ip();
expect(ip.safeParse("122.122.122.122").success).toBe(true);
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/string.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ test("time parsing", () => {
expect(() => time4.parse("00:00:00.000")).toThrow();
expect(() => time4.parse("00:00:00.000+00:00")).toThrow();
});

test("IP validation", () => {
const ip = z.string().ip();
expect(ip.safeParse("122.122.122.122").success).toBe(true);
Expand Down

0 comments on commit 10da48c

Please sign in to comment.