ソースを参照

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

読み込み中…
キャンセル
保存