From f772364eb8538411e6dbcf1f7cc23b958e190c8c Mon Sep 17 00:00:00 2001 From: Paul Irish Date: Mon, 18 Jul 2022 15:29:03 -0700 Subject: [PATCH] adjust http preservation test --- test/git-open.bats | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/git-open.bats b/test/git-open.bats index 1f8d4c3..32c0fe1 100755 --- a/test/git-open.bats +++ b/test/git-open.bats @@ -230,7 +230,8 @@ setup() { @test "basic: http url scheme is preserved" { 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" }