print which variable was used to define SCRIPTURA_ROOT
1 file changed, 3 insertions(+), 3 deletions(-)
changed files
M tests/scriptura.fish → tests/scriptura.fish
@@ -27,7 +27,7 @@ set --erase SCRIPTURA_ROOT set --erase SD_ROOT source $(status dirname)/../functions/scriptura.fish scriptura -) = "\$SCRIPTURA_ROOT $HOME/sd does not exist, use `scriptura new` to create it" +) = "SCRIPTURA_ROOT $HOME/sd does not exist, use `scriptura new` to create it" # Test: SCRIPTURA_ROOT uses SD_ROOT when set @test "SCRIPTURA_ROOT uses SD_ROOT when set" (@@ -35,7 +35,7 @@ set --erase SCRIPTURA_ROOT set --global --export SD_ROOT "/custom/sd" source $(status dirname)/../functions/scriptura.fish scriptura -) = "\$SCRIPTURA_ROOT /custom/sd does not exist, use `scriptura new` to create it" +) = "SD_ROOT /custom/sd does not exist, use `scriptura new` to create it" # Test: SCRIPTURA_ROOT uses existing value when set @test "SCRIPTURA_ROOT uses existing value when set" (@@ -43,7 +43,7 @@ set --global --export SCRIPTURA_ROOT "/existing/root" set --global --export SD_ROOT "/custom/sd" source $(status dirname)/../functions/scriptura.fish scriptura -) = "\$SCRIPTURA_ROOT /existing/root does not exist, use `scriptura new` to create it" +) = "SCRIPTURA_ROOT /existing/root does not exist, use `scriptura new` to create it" # Test: usage is shown when no arguments provided @test "usage is shown when no arguments provided" -n (