瀏覽代碼

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

pull/280/head
Yamashita Yuu 11 年之前
父節點
當前提交
5ca423c9f3
共有 3 個檔案被更改,包括 0 行新增12 行删除
  1. +0
    -2
      libexec/pyenv
  2. +0
    -2
      test/libexec/pyenv-grep
  3. +0
    -8
      test/pyenv_ext.bats

+ 0
- 2
libexec/pyenv 查看文件

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

+ 0
- 2
test/libexec/pyenv-grep 查看文件

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

+ 0
- 8
test/pyenv_ext.bats 查看文件

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

Loading…
取消
儲存