From 9fe9310ccf4971f0d1976f9bdaafd04a68ea314b Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Fri, 17 Jul 2020 09:19:06 -0300 Subject: Deleted fisher stuff --- .../spacefish/tests/__sf_section_aws.test.fish | 89 ---------------------- 1 file changed, 89 deletions(-) delete mode 100644 .config/fisher/github.com/matchai/spacefish/tests/__sf_section_aws.test.fish (limited to '.config/fisher/github.com/matchai/spacefish/tests/__sf_section_aws.test.fish') diff --git a/.config/fisher/github.com/matchai/spacefish/tests/__sf_section_aws.test.fish b/.config/fisher/github.com/matchai/spacefish/tests/__sf_section_aws.test.fish deleted file mode 100644 index 17c5eb6c..00000000 --- a/.config/fisher/github.com/matchai/spacefish/tests/__sf_section_aws.test.fish +++ /dev/null @@ -1,89 +0,0 @@ -source $DIRNAME/spacefish_test_setup.fish - -function setup - spacefish_test_setup - mock aws \* 0 - set -g AWS_PROFILE user1 -end - -test "Prints section when AWS_PROFILE is set" - ( - set_color --bold - echo -n "using " - set_color normal - set_color --bold ff8700 - echo -n "☁️ user1" - set_color normal - set_color --bold - echo -n " " - set_color normal - ) = (__sf_section_aws) -end - -test "Doesn't print the section when AWS_PROFILE isn't set" - ( - set --erase AWS_PROFILE - ) = (__sf_section_aws) -end - -test "Doesn't print the section when AWS_PROFILE is set to \"default\"" - ( - set AWS_PROFILE default - ) = (__sf_section_aws) -end - -test "Changing SPACEFISH_AWS_SYMBOL changes the displayed character" - ( - set SPACEFISH_AWS_SYMBOL "· " - - set_color --bold - echo -n "using " - set_color normal - set_color --bold ff8700 - echo -n "· user1" - set_color normal - set_color --bold - echo -n " " - set_color normal - ) = (__sf_section_aws) -end - -test "Changing SPACEFISH_AWS_PREFIX changes the character prefix" - ( - set sf_exit_code 0 - set SPACEFISH_AWS_PREFIX · - - set_color --bold - echo -n "·" - set_color normal - set_color --bold ff8700 - echo -n "☁️ user1" - set_color normal - set_color --bold - echo -n " " - set_color normal - ) = (__sf_section_aws) -end - -test "Changing SPACEFISH_AWS_SUFFIX changes the character suffix" - ( - set sf_exit_code 0 - set SPACEFISH_AWS_SUFFIX · - - set_color --bold - echo -n "using " - set_color normal - set_color --bold ff8700 - echo -n "☁️ user1" - set_color normal - set_color --bold - echo -n "·" - set_color normal - ) = (__sf_section_aws) -end - -test "doesn't display the section when SPACEFISH_AWS_SHOW is set to \"false\"" - ( - set SPACEFISH_AWS_SHOW false - ) = (__sf_section_aws) -end -- cgit v1.2.3