Skip to content

Commit 470fd47

Browse files
committed
Add one more test
1 parent f6b3139 commit 470fd47

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/dashboard/src/data/git-providers/unified-repositories-search-query.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ test("should perform weak validation for git URLs", () => {
105105
expect(isValidGitUrl("[email protected]:")).toEqual(false);
106106
expect(isValidGitUrl("[email protected]:")).toEqual(false);
107107
expect(isValidGitUrl("[email protected]:22:")).toEqual(false);
108+
expect(isValidGitUrl("[email protected]:g/g")).toEqual(true);
108109

109110
// some "from the wild" cases
110111
expect(isValidGitUrl("https://github.com/gitpod-io/gitpod/pull/20281")).toEqual(true);

0 commit comments

Comments
 (0)