aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2016-02-13 19:35:06 +0300
committerDominik Ritter <dritter03@googlemail.com>2016-02-13 19:35:06 +0300
commita3eaf4a4b0098918d3b39dbe705fa587032c5648 (patch)
treeb0b7ac641c20b4fa09340099a949d19bcb91bd7b /test
parenta75b0c17d25cbada32458a71a2d8ada07a35f026 (diff)
Improve isolation of tests
Diffstat (limited to 'test')
-rwxr-xr-xtest/functions/colors.spec2
-rwxr-xr-xtest/functions/utilities.spec3
-rwxr-xr-xtest/powerlevel9k.spec2
3 files changed, 4 insertions, 3 deletions
diff --git a/test/functions/colors.spec b/test/functions/colors.spec
index d1c5a6fc..61a40087 100755
--- a/test/functions/colors.spec
+++ b/test/functions/colors.spec
@@ -5,7 +5,7 @@
setopt shwordsplit
SHUNIT_PARENT=$0
-function oneTimeSetUp() {
+function setUp() {
# Load Powerlevel9k
source functions/colors.zsh
}
diff --git a/test/functions/utilities.spec b/test/functions/utilities.spec
index ad0f4efb..a9bd67e3 100755
--- a/test/functions/utilities.spec
+++ b/test/functions/utilities.spec
@@ -5,8 +5,9 @@
setopt shwordsplit
SHUNIT_PARENT=$0
-function oneTimeSetUp() {
+function setUp() {
# Load Powerlevel9k
+ source functions/icons.zsh
source functions/utilities.zsh
}
diff --git a/test/powerlevel9k.spec b/test/powerlevel9k.spec
index 7a85e516..06f0868e 100755
--- a/test/powerlevel9k.spec
+++ b/test/powerlevel9k.spec
@@ -5,7 +5,7 @@
setopt shwordsplit
SHUNIT_PARENT=$0
-function oneTimeSetUp() {
+function setUp() {
# Load Powerlevel9k
source powerlevel9k.zsh-theme
source functions/*