diff options
author | 2014-03-18 14:14:32 -0700 | |
---|---|---|
committer | 2014-03-20 21:32:02 -0700 | |
commit | e5ef45e4c04b6126ea74c4010b2d8fe1c0b06cca (patch) | |
tree | d200c10a700c9cfae10d170a600acfda8508086a /fish_tests.cpp | |
parent | e780637cf42bc8d26e0e963f5ff84b11007459c5 (diff) |
Rewrite parser_t::test_args and parser_t::eval_args to use new parser
Diffstat (limited to 'fish_tests.cpp')
-rw-r--r-- | fish_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fish_tests.cpp b/fish_tests.cpp index 8e7c09eb..7b2c3773 100644 --- a/fish_tests.cpp +++ b/fish_tests.cpp @@ -682,7 +682,7 @@ static void test_parser() say(L"Testing eval_args"); completion_list_t comps; - parser_t::principal_parser().eval_args(L"alpha 'beta gamma' delta", comps); + parser_t::principal_parser().expand_argument_list(L"alpha 'beta gamma' delta", comps); do_test(comps.size() == 3); do_test(comps.at(0).completion == L"alpha"); do_test(comps.at(1).completion == L"beta gamma"); |