all repos — scriptura @ fce68bc9f273e73e437b7e9cf72a0d175028ff28

a corner in $HOME for your scripts

remove outdated source statements from test code

Alan Pearce
commit

fce68bc9f273e73e437b7e9cf72a0d175028ff28

parent

a41c97c06c8d611555b6b34780138efdbdf170d4

1 file changed, 0 insertions(+), 3 deletions(-)

changed files
M tests/scriptura.fishtests/scriptura.fish
@@ -25,7 +25,6 @@ # Test: SCRIPTURA_ROOT defaults to ~/sd when not set
@test "SCRIPTURA_ROOT defaults to ~/sd when not set" ( set --erase SCRIPTURA_ROOT set --erase SD_ROOT - source $(status dirname)/../conf.d/scriptura-config.fish source $(status dirname)/../functions/scriptura.fish scriptura ) = "\$SCRIPTURA_ROOT $HOME/sd does not exist, use `scriptura --new` to create it"
@@ -34,7 +33,6 @@ # Test: SCRIPTURA_ROOT uses SD_ROOT when set
@test "SCRIPTURA_ROOT uses SD_ROOT when set" ( set --erase SCRIPTURA_ROOT set --global --export SD_ROOT "/custom/sd" - source $(status dirname)/../conf.d/scriptura-config.fish source $(status dirname)/../functions/scriptura.fish scriptura ) = "\$SCRIPTURA_ROOT /custom/sd does not exist, use `scriptura --new` to create it"
@@ -43,7 +41,6 @@ # Test: SCRIPTURA_ROOT uses existing value when set
@test "SCRIPTURA_ROOT uses existing value when set" ( set --global --export SCRIPTURA_ROOT "/existing/root" set --global --export SD_ROOT "/custom/sd" - source $(status dirname)/../conf.d/scriptura-config.fish source $(status dirname)/../functions/scriptura.fish scriptura ) = "\$SCRIPTURA_ROOT /existing/root does not exist, use `scriptura --new` to create it"