Skip to content

Commit f772364

Browse files
committed
adjust http preservation test
1 parent 1749147 commit f772364

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/git-open.bats

+2-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,8 @@ setup() {
230230

231231
@test "basic: http url scheme is preserved" {
232232
git remote set-url origin "http://github.com/user/repo.git"
233-
run ../git-open
233+
# ignore any local config like: `url.https://github.com/.insteadof=http://github.com/`
234+
GIT_CONFIG_NOSYSTEM=1 run ../git-open
234235
assert_output "http://github.com/user/repo"
235236
}
236237

0 commit comments

Comments
 (0)