Quellcode durchsuchen

Split test files

pull/271/head
Yamashita Yuu vor 11 Jahren
Ursprung
Commit
6c2d234e55
2 geänderte Dateien mit 11 neuen und 8 gelöschten Zeilen
  1. +0
    -8
      test/pyenv.bats
  2. +11
    -0
      test/pyenv_ext.bats

+ 0
- 8
test/pyenv.bats Datei anzeigen

@ -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 Datei anzeigen

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

Laden…
Abbrechen
Speichern