aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/fish_tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fish_tests.cpp')
-rw-r--r--src/fish_tests.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fish_tests.cpp b/src/fish_tests.cpp
index d5b28341..cd1c0b60 100644
--- a/src/fish_tests.cpp
+++ b/src/fish_tests.cpp
@@ -2429,6 +2429,7 @@ static void test_autosuggest_suggest_special()
if (system("mkdir -p '/tmp/autosuggest_test/~hahaha/path1/path2/'")) err(L"mkdir failed");
perform_one_autosuggestion_cd_test(L"cd ~haha", vars, L"ha/path1/path2/", __LINE__);
+ perform_one_autosuggestion_cd_test(L"cd ~hahaha/", vars, L"path1/path2/", __LINE__);
if (chdir_set_pwd(saved_wd)) err(L"chdir failed");
if (system("rm -Rf '/tmp/autosuggest_test/'")) err(L"rm failed");