mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-14 20:39:55 -05:00
Split test files
This commit is contained in:
parent
c6dd3b9468
commit
6c2d234e55
2 changed files with 11 additions and 8 deletions
|
@ -45,11 +45,3 @@ load test_helper
|
|||
assert_failure
|
||||
assert_output "pyenv: cannot change working directory to \`$dir'"
|
||||
}
|
||||
|
||||
@test "conflicting GREP_OPTIONS" {
|
||||
file="${BATS_TMPDIR}/hello"
|
||||
echo "hello" > "$file"
|
||||
GREP_OPTIONS="-F" run pyenv grep "hell." "$file"
|
||||
assert_success
|
||||
assert_output "hello"
|
||||
}
|
||||
|
|
11
test/pyenv_ext.bats
Normal file
11
test/pyenv_ext.bats
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bats
|
||||
|
||||
load test_helper
|
||||
|
||||
@test "conflicting GREP_OPTIONS" {
|
||||
file="${BATS_TMPDIR}/hello"
|
||||
echo "hello" > "$file"
|
||||
GREP_OPTIONS="-F" run pyenv grep "hell." "$file"
|
||||
assert_success
|
||||
assert_output "hello"
|
||||
}
|
Loading…
Reference in a new issue