diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2016-02-17 15:00:38 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2016-02-18 17:00:26 -0800 |
commit | 718d9baead9d900936c9fd6911e387732f706770 (patch) | |
tree | b5235dfe8bc2e7e3eb812ae352a9049f0cc5ceb4 /src/fish_tests.cpp | |
parent | e2f458422071bab71ef2c3373a2c5c418aa70e78 (diff) |
Implement the cd "unique hierarchy" autosuggestion in expand.cpp
Diffstat (limited to 'src/fish_tests.cpp')
-rw-r--r-- | src/fish_tests.cpp | 1 |
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"); |