aboutsummaryrefslogtreecommitdiffhomepage
path: root/fish_tests.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-06-02 01:14:26 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-06-02 01:14:26 -0700
commit464187491f910ab2cb8bb0a1bdc6013f10fcd319 (patch)
tree5b51990117d7778e6e536dd424ace26c376931a7 /fish_tests.cpp
parentfd15d30987af6104c060b91c60dbe34c8c3a42d7 (diff)
Formatting
Diffstat (limited to 'fish_tests.cpp')
-rw-r--r--fish_tests.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/fish_tests.cpp b/fish_tests.cpp
index 5146e88e..2572e8d6 100644
--- a/fish_tests.cpp
+++ b/fish_tests.cpp
@@ -988,18 +988,18 @@ static void test_complete(void)
assert(completions.at(0).completion == L"oo1");
assert(completions.at(1).completion == L"oo2");
assert(completions.at(2).completion == L"oo3");
-
+
completions.clear();
complete(L"$1", completions, COMPLETION_REQUEST_DEFAULT);
assert(completions.empty());
-
+
completions.clear();
complete(L"$1", completions, COMPLETION_REQUEST_DEFAULT | COMPLETION_REQUEST_FUZZY_MATCH);
assert(completions.size() == 2);
assert(completions.at(0).completion == L"$Foo1");
assert(completions.at(1).completion == L"$Bar1");
-
+
complete_set_variable_names(NULL);
}