mirror of
https://github.com/paulirish/git-open.git
synced 2026-09-10 07:26:15 -04:00
export BROWSER variable, and test that its set.
This commit is contained in:
parent
c2c7830514
commit
53e91d130b
|
|
@ -7,9 +7,18 @@ foldername="sandboxrepo"
|
|||
|
||||
setup() {
|
||||
create_git_sandbox
|
||||
BROWSER=echo
|
||||
export BROWSER=echo
|
||||
}
|
||||
|
||||
##
|
||||
## Test environment
|
||||
##
|
||||
@test "test environment" {
|
||||
assert_equal "$BROWSER" "echo"
|
||||
cd ..
|
||||
assert [ -e "$foldername" ]
|
||||
assert [ -e "$foldername/.git" ]
|
||||
}
|
||||
|
||||
##
|
||||
## GitHub
|
||||
|
|
|
|||
Loading…
Reference in a new issue