mirror of
https://github.com/paulirish/git-open.git
synced 2026-09-10 07:26:15 -04:00
adjust http preservation test
This commit is contained in:
parent
17491478e6
commit
f772364eb8
|
|
@ -230,7 +230,8 @@ setup() {
|
||||||
|
|
||||||
@test "basic: http url scheme is preserved" {
|
@test "basic: http url scheme is preserved" {
|
||||||
git remote set-url origin "http://github.com/user/repo.git"
|
git remote set-url origin "http://github.com/user/repo.git"
|
||||||
run ../git-open
|
# ignore any local config like: `url.https://github.com/.insteadof=http://github.com/`
|
||||||
|
GIT_CONFIG_NOSYSTEM=1 run ../git-open
|
||||||
assert_output "http://github.com/user/repo"
|
assert_output "http://github.com/user/repo"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue