summaryrefslogtreecommitdiff
path: root/.config/fisher/github.com/matchai/spacefish/tests/__sf_section_venv.test.fish
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2020-07-17 09:19:06 -0300
committerRoger Gonzalez <roger@rogs.me>2020-07-17 09:19:06 -0300
commit9fe9310ccf4971f0d1976f9bdaafd04a68ea314b (patch)
treeff1d5d677d5b3c33ac7eb6252029f2a9d165d9b3 /.config/fisher/github.com/matchai/spacefish/tests/__sf_section_venv.test.fish
parent743caecfc68bb6d28f8de2e80bce671e42601c6a (diff)
Deleted fisher stuff
Diffstat (limited to '.config/fisher/github.com/matchai/spacefish/tests/__sf_section_venv.test.fish')
-rw-r--r--.config/fisher/github.com/matchai/spacefish/tests/__sf_section_venv.test.fish50
1 files changed, 0 insertions, 50 deletions
diff --git a/.config/fisher/github.com/matchai/spacefish/tests/__sf_section_venv.test.fish b/.config/fisher/github.com/matchai/spacefish/tests/__sf_section_venv.test.fish
deleted file mode 100644
index f60d23e1..00000000
--- a/.config/fisher/github.com/matchai/spacefish/tests/__sf_section_venv.test.fish
+++ /dev/null
@@ -1,50 +0,0 @@
-source $DIRNAME/spacefish_test_setup.fish
-
-function setup
- spacefish_test_setup
-end
-
-function teardown
- if test "$VIRTUAL_ENV"
- set -e VIRTUAL_ENV
- end
-end
-
-test "Prints section when \$VIRTUAL_ENV is defined"
- (
- set VIRTUAL_ENV "/Users/JaneDoe/.venv/coolenviron"
-
- set_color --bold
- echo -n $SPACEFISH_PROMPT_DEFAULT_PREFIX
- set_color normal
- set_color --bold blue
- echo -n "·coolenviron"
- set_color normal
- set_color --bold
- echo -n $SPACEFISH_PROMPT_DEFAULT_SUFFIX
- set_color normal
- ) = (__sf_section_venv)
-end
-
-test "Prints section when \$VIRTUAL_ENV is defined with venv as the directory name"
- (
- set VIRTUAL_ENV "/Users/JaneDoe/.venv/coolenviron/virtualenv"
-
- set_color --bold
- echo -n $SPACEFISH_PROMPT_DEFAULT_PREFIX
- set_color normal
- set_color --bold blue
- echo -n "·coolenviron"
- set_color normal
- set_color --bold
- echo -n $SPACEFISH_PROMPT_DEFAULT_SUFFIX
- set_color normal
- ) = (__sf_section_venv)
-end
-
-test "doesn't display the section when SPACEFISH_VENV_SHOW is set to \"false\""
- (
- set VIRTUAL_ENV "/Users/JaneDoe/.venv/coolenviron"
- set SPACEFISH_VENV_SHOW false
- ) = (__sf_section_venv)
-end