From aa17ed51ced4816aba5bbc3a0d8eb21fe518945f Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Mon, 30 Aug 2021 17:07:11 +0200 Subject: [PATCH] tests/checks/complete: Do $PWD stuff in the tempdir This broke the tests on my machine, and doing ```fish cd $dir cd - ``` seems wrong in any case. --- tests/checks/complete.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/checks/complete.fish b/tests/checks/complete.fish index 465d29190..5c808e752 100644 --- a/tests/checks/complete.fish +++ b/tests/checks/complete.fish @@ -403,7 +403,6 @@ rm -r $dir set -l dir (mktemp -d) cd $dir -cd - : >command-not-in-path chmod +x command-not-in-path @@ -426,4 +425,5 @@ begin # CHECK: custom-completions end +cd - rm -r $dir