rename FOR_COMPLETIONS to EXPAND_FOR_COMPLETIONS

This is yet clearer
This commit is contained in:
ridiculousfish
2015-08-03 16:36:10 -07:00
parent d2049edcab
commit 602e9cebd9
6 changed files with 28 additions and 31 deletions

View File

@@ -1435,7 +1435,7 @@ static void test_expand()
expand_test(L"a*", EXPAND_SKIP_WILDCARDS, L"a*", 0,
L"Cannot skip wildcard expansion");
expand_test(L"/bin/l\\0", FOR_COMPLETIONS, 0,
expand_test(L"/bin/l\\0", EXPAND_FOR_COMPLETIONS, 0,
L"Failed to handle null escape in expansion");
expand_test(L"foo\\$bar", EXPAND_SKIP_VARIABLES, L"foo$bar", 0,
@@ -1475,7 +1475,7 @@ static void test_expand()
L"/tmp/fish_expand_test/bar", L"/tmp/fish_expand_test/bax", L"/tmp/fish_expand_test/bax/xxx", L"/tmp/fish_expand_test/baz", L"/tmp/fish_expand_test/baz/xxx", wnull,
L"Glob did the wrong thing");
expand_test(L"/tmp/fish_expand_test/BA", FOR_COMPLETIONS,
expand_test(L"/tmp/fish_expand_test/BA", EXPAND_FOR_COMPLETIONS,
L"/tmp/fish_expand_test/bar", L"/tmp/fish_expand_test/bax/", L"/tmp/fish_expand_test/baz/", wnull,
L"Case insensitive test did the wrong thing");