-
-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for GitLab's new style routes (#267)
- Loading branch information
Showing
3 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,10 +37,10 @@ const TEST_DATA = [ | |
'[email protected]:user/repo.git' | ||
], | ||
expected: { | ||
commit: 'https://gitlab.com/user/repo/commit/123', | ||
issue: 'https://gitlab.com/user/repo/issues/123', | ||
merge: 'https://gitlab.com/user/repo/merge_requests/123', | ||
compare: 'https://gitlab.com/user/repo/compare/v1.2.3...v2.0.0' | ||
commit: 'https://gitlab.com/user/repo/-/commit/123', | ||
issue: 'https://gitlab.com/user/repo/-/issues/123', | ||
merge: 'https://gitlab.com/user/repo/-/merge_requests/123', | ||
compare: 'https://gitlab.com/user/repo/-/compare/v1.2.3...v2.0.0' | ||
} | ||
}, | ||
{ | ||
|
@@ -49,10 +49,10 @@ const TEST_DATA = [ | |
'[email protected]:user/repo/subgroup.git' | ||
], | ||
expected: { | ||
commit: 'https://gitlab.com/user/repo/subgroup/commit/123', | ||
issue: 'https://gitlab.com/user/repo/subgroup/issues/123', | ||
merge: 'https://gitlab.com/user/repo/subgroup/merge_requests/123', | ||
compare: 'https://gitlab.com/user/repo/subgroup/compare/v1.2.3...v2.0.0' | ||
commit: 'https://gitlab.com/user/repo/subgroup/-/commit/123', | ||
issue: 'https://gitlab.com/user/repo/subgroup/-/issues/123', | ||
merge: 'https://gitlab.com/user/repo/subgroup/-/merge_requests/123', | ||
compare: 'https://gitlab.com/user/repo/subgroup/-/compare/v1.2.3...v2.0.0' | ||
} | ||
}, | ||
{ | ||
|