Revert a fix for #101 to fix broken tests relating to PYENV_NATIVE_EXT

This commit is contained in:
Yamashita Yuu 2014-12-01 20:34:12 +09:00
parent f0e852553a
commit 5ca423c9f3
3 changed files with 0 additions and 12 deletions

View file

@ -28,8 +28,6 @@ if [ -z "$READLINK" ]; then
exit 1
fi
unset GREP_OPTIONS
resolve_link() {
$READLINK "$1"
}

View file

@ -1,2 +0,0 @@
#!/usr/bin/env bash
grep -E "$@"

View file

@ -1,11 +1,3 @@
#!/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"
}