From 6c2d234e55289445b80e8fbd9273c3177533ca1a Mon Sep 17 00:00:00 2001 From: Yamashita Yuu Date: Thu, 13 Nov 2014 21:55:56 -0800 Subject: [PATCH] Split test files --- test/pyenv.bats | 8 -------- test/pyenv_ext.bats | 11 +++++++++++ 2 files changed, 11 insertions(+), 8 deletions(-) create mode 100644 test/pyenv_ext.bats diff --git a/test/pyenv.bats b/test/pyenv.bats index 811f3cc5..5710ea62 100644 --- a/test/pyenv.bats +++ b/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" -} diff --git a/test/pyenv_ext.bats b/test/pyenv_ext.bats new file mode 100644 index 00000000..95baa41e --- /dev/null +++ b/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" +}