From 314eaee79864a75c9aeb01cbcfba5a625e4f8d4d Mon Sep 17 00:00:00 2001 From: Edwin Kofler Date: Fri, 12 Jan 2024 23:06:32 -0800 Subject: [PATCH] test(fish): Improve test isolation --- test/asdf_fish.bats | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/asdf_fish.bats b/test/asdf_fish.bats index 8c15f7b42..9e89ecc67 100644 --- a/test/asdf_fish.bats +++ b/test/asdf_fish.bats @@ -16,7 +16,7 @@ cleaned_path() { } @test "exports ASDF_DIR" { - run fish -c " + run fish --no-config -c " set -e asdf set -e ASDF_DIR set -e ASDF_DATA_DIR @@ -30,7 +30,7 @@ cleaned_path() { } @test "adds asdf dirs to PATH" { - run fish -c " + run fish --no-config -c " set -e asdf set -e ASDF_DIR set -e ASDF_DATA_DIR @@ -46,7 +46,7 @@ cleaned_path() { } @test "does not add paths to PATH more than once" { - run fish -c " + run fish --no-config -c " set -e asdf set -e ASDF_DIR set -e ASDF_DATA_DIR @@ -63,7 +63,7 @@ cleaned_path() { } @test "defines the asdf function" { - run fish -c " + run fish --no-config -c " set -e asdf set -e ASDF_DIR set PATH $(cleaned_path) @@ -76,7 +76,7 @@ cleaned_path() { } @test "function calls asdf command" { - run fish -c " + run fish --no-config -c " set -e asdf set -x ASDF_DIR $(pwd) # checkstyle-ignore set PATH $(cleaned_path)