diff options
author | Roger Gonzalez <roger@rogs.me> | 2020-07-17 09:19:06 -0300 |
---|---|---|
committer | Roger Gonzalez <roger@rogs.me> | 2020-07-17 09:19:06 -0300 |
commit | 9fe9310ccf4971f0d1976f9bdaafd04a68ea314b (patch) | |
tree | ff1d5d677d5b3c33ac7eb6252029f2a9d165d9b3 /.config/fisher/github.com/matchai/spacefish/tests/__sf_section_aws.test.fish | |
parent | 743caecfc68bb6d28f8de2e80bce671e42601c6a (diff) |
Deleted fisher stuff
Diffstat (limited to '.config/fisher/github.com/matchai/spacefish/tests/__sf_section_aws.test.fish')
-rw-r--r-- | .config/fisher/github.com/matchai/spacefish/tests/__sf_section_aws.test.fish | 89 |
1 files changed, 0 insertions, 89 deletions
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 |