瀏覽代碼

Split test files

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

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

@ -45,11 +45,3 @@ load test_helper
assert_failure
assert_output "pyenv: cannot change working directory to \`$dir'"
}
@test "conflicting GREP_OPTIONS" {
file="${BATS_TMPDIR}/hello"
echo "hello" > "$file"
GREP_OPTIONS="-F" run pyenv grep "hell." "$file"
assert_success
assert_output "hello"
}

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

@ -0,0 +1,11 @@
#!/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…
取消
儲存