'.' => 'source' (some people alias '.' as something different)
This commit is contained in:
@@ -13,11 +13,11 @@ export scmbDir="$( cd -P "$( dirname "$0" )" && pwd )/../.."
|
||||
if [ -n "${ZSH_VERSION:-}" ]; then shell="zsh"; SHUNIT_PARENT=$0; setopt shwordsplit; fi
|
||||
|
||||
# Load test helpers
|
||||
. "$scmbDir/test/support/test_helper"
|
||||
source "$scmbDir/test/support/test_helper"
|
||||
|
||||
# Load functions to test
|
||||
. "$scmbDir/lib/scm_breeze.sh"
|
||||
. "$scmbDir/lib/design.sh"
|
||||
source "$scmbDir/lib/scm_breeze.sh"
|
||||
source "$scmbDir/lib/design.sh"
|
||||
|
||||
|
||||
# Setup and tear down
|
||||
@@ -83,5 +83,5 @@ test_design() {
|
||||
|
||||
# load and run shUnit2
|
||||
# Call this function to run tests
|
||||
. "$scmbDir/test/support/shunit2"
|
||||
source "$scmbDir/test/support/shunit2"
|
||||
|
||||
|
||||
@@ -13,11 +13,11 @@ export scmbDir="$( cd -P "$( dirname "$0" )" && pwd )/../../.."
|
||||
if [ -n "${ZSH_VERSION:-}" ]; then shell="zsh"; SHUNIT_PARENT=$0; setopt shwordsplit; fi
|
||||
|
||||
# Load test helpers
|
||||
. "$scmbDir/test/support/test_helper"
|
||||
source "$scmbDir/test/support/test_helper"
|
||||
|
||||
# Load functions to test
|
||||
. "$scmbDir/lib/scm_breeze.sh"
|
||||
. "$scmbDir/lib/git/repo_index.sh"
|
||||
source "$scmbDir/lib/scm_breeze.sh"
|
||||
source "$scmbDir/lib/git/repo_index.sh"
|
||||
|
||||
|
||||
# Setup and tear down
|
||||
@@ -190,5 +190,5 @@ test_changing_to_top_level_directory() {
|
||||
|
||||
# load and run shUnit2
|
||||
# Call this function to run tests
|
||||
. "$scmbDir/test/support/shunit2"
|
||||
source "$scmbDir/test/support/shunit2"
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ else
|
||||
fi
|
||||
|
||||
# Load test helpers
|
||||
. "$scmbDir/test/support/test_helper"
|
||||
source "$scmbDir/test/support/test_helper"
|
||||
|
||||
# Setup
|
||||
#-----------------------------------------------------------------------------
|
||||
@@ -69,4 +69,4 @@ test_shell_command_wrapping() {
|
||||
|
||||
|
||||
# load and run shUnit2
|
||||
. "$scmbDir/test/support/shunit2"
|
||||
source "$scmbDir/test/support/shunit2"
|
||||
|
||||
@@ -13,11 +13,11 @@ export scmbDir="$( cd -P "$( dirname "$0" )" && pwd )/../../.."
|
||||
if [ -n "${ZSH_VERSION:-}" ]; then shell="zsh"; SHUNIT_PARENT=$0; setopt shwordsplit; fi
|
||||
|
||||
# Load test helpers
|
||||
. "$scmbDir/test/support/test_helper"
|
||||
source "$scmbDir/test/support/test_helper"
|
||||
|
||||
# Load functions to test
|
||||
. "$scmbDir/lib/scm_breeze.sh"
|
||||
. "$scmbDir/lib/git/status_shortcuts.sh"
|
||||
source "$scmbDir/lib/scm_breeze.sh"
|
||||
source "$scmbDir/lib/git/status_shortcuts.sh"
|
||||
|
||||
|
||||
# Setup and tear down
|
||||
@@ -274,5 +274,5 @@ test_adding_files_with_spaces() {
|
||||
|
||||
|
||||
# load and run shUnit2
|
||||
. "$scmbDir/test/support/shunit2"
|
||||
source "$scmbDir/test/support/shunit2"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user