adjust http preservation test

This commit is contained in:
Paul Irish 2022-07-18 15:29:03 -07:00
parent 17491478e6
commit f772364eb8

View file

@ -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"
} }