Skip to content

Commit

Permalink
adjust http preservation test
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Jul 18, 2022
1 parent 1749147 commit f772364
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/git-open.bats
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ setup() {

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

Expand Down

0 comments on commit f772364

Please sign in to comment.