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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fish_tests.cpp b/src/fish_tests.cpp
index 6acefbaa..dc999a36 100644
--- a/src/fish_tests.cpp
+++ b/src/fish_tests.cpp
@@ -2157,7 +2157,7 @@ static void test_complete(void)
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);
+ complete_add(L"foobarbaz", false, wcstring(), option_type_args_only, NO_FILES, NULL, L"qux", NULL, COMPLETE_AUTO_SPACE);
completions.clear();
complete(L"foobarbaz ", completions, COMPLETION_REQUEST_DEFAULT);
do_test(completions.size() == 1);