diff options
author | 2014-05-03 15:33:48 -0700 | |
---|---|---|
committer | 2014-05-03 15:33:48 -0700 | |
commit | 56bf209f84d91d905dfd61905713c9c52b590872 (patch) | |
tree | 3f66090d00459f1f2d3f078aead64fa88f6155cf /fish_tests.cpp | |
parent | 186b0f62ebf34a446730d45a0a27a51be335df24 (diff) | |
parent | 333fb1bf97e53725b730fa7047e1873cacceed44 (diff) |
Merge branch 'master' into death_of_fishd
Conflicts:
configure.ac
Diffstat (limited to 'fish_tests.cpp')
-rw-r--r-- | fish_tests.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fish_tests.cpp b/fish_tests.cpp index 7751763c..fc8eb569 100644 --- a/fish_tests.cpp +++ b/fish_tests.cpp @@ -1867,6 +1867,11 @@ static void test_complete(void) complete(L"echo (builtin scuttlebut", completions, COMPLETION_REQUEST_DEFAULT); do_test(completions.size() == 0); + /* Not after a redirection */ + completions.clear(); + complete(L"echo hi > scuttlebut", completions, COMPLETION_REQUEST_DEFAULT); + do_test(completions.size() == 0); + /* Trailing spaces (#1261) */ complete_add(L"foobarbaz", false, 0, NULL, 0, NO_FILES, NULL, L"qux", NULL, COMPLETE_AUTO_SPACE); completions.clear(); |