Parcourir la source

Split test files

pull/271/head
Yamashita Yuu il y a 11 ans
Parent
révision
6c2d234e55
2 fichiers modifiés avec 11 ajouts et 8 suppressions
  1. +0
    -8
      test/pyenv.bats
  2. +11
    -0
      test/pyenv_ext.bats

+ 0
- 8
test/pyenv.bats Voir le fichier

@ -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 Voir le fichier

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

Chargement…
Annuler
Enregistrer