mirror of
https://github.com/pyenv/pyenv.git
synced 2024-10-17 21:04:58 -04:00
12 lines
223 B
Text
12 lines
223 B
Text
|
#!/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"
|
||
|
}
|