From 2b73b07c6af4271d81863f82076554a17ff2e55b Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Wed, 19 Oct 2011 22:07:29 +0800 Subject: [PATCH] Fixed tests --- test/lib/git/status_shortcuts_test.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/lib/git/status_shortcuts_test.sh b/test/lib/git/status_shortcuts_test.sh index 612f195..62f524b 100755 --- a/test/lib/git/status_shortcuts_test.sh +++ b/test/lib/git/status_shortcuts_test.sh @@ -9,7 +9,6 @@ export scmbDir="$( cd -P "$( dirname "$0" )" && pwd )/../../.." - # Zsh compatibility if [ -n "${ZSH_VERSION:-}" ]; then shell="zsh"; SHUNIT_PARENT=$0; setopt shwordsplit; fi @@ -25,9 +24,9 @@ if [ -n "${ZSH_VERSION:-}" ]; then shell="zsh"; SHUNIT_PARENT=$0; setopt shwords #----------------------------------------------------------------------------- oneTimeSetUp() { # Test Config - git_env_char="e" - gs_max_changes="20" - ga_auto_remove="yes" + export git_env_char="e" + export gs_max_changes="20" + export ga_auto_remove="yes" testRepo=$(mktemp -d) }