mirror of
https://github.com/go-task/task.git
synced 2026-07-08 14:35:18 +00:00
fix: remote taskfiles from ADO git path (#2904)
This commit is contained in:
@@ -21,4 +21,7 @@ func TestScheme(t *testing.T) {
|
||||
scheme, err = getScheme("https://github.com/foo/common.yml")
|
||||
assert.NoError(t, err)
|
||||
assert.Equal(t, "https", scheme)
|
||||
scheme, err = getScheme("https://some-azure-host.com/org/project/_git/repo")
|
||||
assert.NoError(t, err)
|
||||
assert.Equal(t, "git", scheme)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user