Skip to content

Commit

Permalink
updating url validations test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
andR3Scr1pTx86 committed Dec 18, 2024
1 parent 143a169 commit fe4ddf0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions deno/lib/__tests__/string.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ test("url validations", () => {
expect(() => url.parse("asdf")).toThrow();
expect(() => url.parse("https:/")).toThrow();
expect(() => url.parse("asdfj@lkjsdf.com")).toThrow();
expect(() => url.parse("https://asdf.com,https://asdf")).toThrow();
});

test("url error overrides", () => {
Expand Down
1 change: 1 addition & 0 deletions src/__tests__/string.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ test("url validations", () => {
expect(() => url.parse("asdf")).toThrow();
expect(() => url.parse("https:/")).toThrow();
expect(() => url.parse("asdfj@lkjsdf.com")).toThrow();
expect(() => url.parse("https://asdf.com,https://asdf")).toThrow();
});

test("url error overrides", () => {
Expand Down

0 comments on commit fe4ddf0

Please sign in to comment.