Skip to content

Commit

Permalink
prettier string test.
Browse files Browse the repository at this point in the history
  • Loading branch information
igalklebanov committed Feb 27, 2023
1 parent a6b1f0b commit d79d11c
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 d79d11c

Please sign in to comment.