From b8ecf71d776dec82908515d96e83ef8b07734c7c Mon Sep 17 00:00:00 2001 From: Edwin Kofler Date: Fri, 19 Jan 2024 00:38:06 -0800 Subject: [PATCH] test(fish): Improve test isolation (#1708) --- 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 8c15f7b4..9e89ecc6 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)