From a3eaf4a4b0098918d3b39dbe705fa587032c5648 Mon Sep 17 00:00:00 2001 From: Dominik Ritter Date: Sat, 13 Feb 2016 17:35:06 +0100 Subject: [PATCH] Improve isolation of tests --- test/functions/colors.spec | 2 +- test/functions/utilities.spec | 3 ++- 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/*