diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2016-02-13 19:35:06 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2016-02-13 19:35:06 +0300 |
commit | a3eaf4a4b0098918d3b39dbe705fa587032c5648 (patch) | |
tree | b0b7ac641c20b4fa09340099a949d19bcb91bd7b /test | |
parent | a75b0c17d25cbada32458a71a2d8ada07a35f026 (diff) |
Improve isolation of tests
Diffstat (limited to 'test')
-rwxr-xr-x | test/functions/colors.spec | 2 | ||||
-rwxr-xr-x | test/functions/utilities.spec | 3 | ||||
-rwxr-xr-x | test/powerlevel9k.spec | 2 |
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/* |