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