Przeglądaj źródła

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

pull/280/head
Yamashita Yuu 11 lat temu
rodzic
commit
5ca423c9f3
3 zmienionych plików z 0 dodań i 12 usunięć
  1. +0
    -2
      libexec/pyenv
  2. +0
    -2
      test/libexec/pyenv-grep
  3. +0
    -8
      test/pyenv_ext.bats

+ 0
- 2
libexec/pyenv Wyświetl plik

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

+ 0
- 2
test/libexec/pyenv-grep Wyświetl plik

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

+ 0
- 8
test/pyenv_ext.bats Wyświetl plik

@ -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"
}

Ładowanie…
Anuluj
Zapisz