From 084d5c8d918d5a8b7b2481438cdd8c4dc667b6dc Mon Sep 17 00:00:00 2001 From: Jacob Dufault Date: Tue, 26 Sep 2017 21:40:21 -0700 Subject: [PATCH] Fix two TODOs --- src/working_files.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/working_files.cc b/src/working_files.cc index bc198ee4..21c10b83 100644 --- a/src/working_files.cc +++ b/src/working_files.cc @@ -445,9 +445,7 @@ TEST_CASE("auto-insert )") { } TEST_CASE("existing completion") { - // TODO: remove trailing space in zz.asdf. Lexing doesn't work correctly if - // done at the end of input. - WorkingFile f("foo.cc", "zzz.asdf "); + WorkingFile f("foo.cc", "zzz.asdf"); bool is_global_completion; std::string existing_completion; @@ -469,9 +467,7 @@ TEST_CASE("existing completion") { } TEST_CASE("existing completion underscore") { - // TODO: remove trailing space in ABC_DEF. Lexing doesn't work correctly if - // done at the end of input. - WorkingFile f("foo.cc", "ABC_DEF "); + WorkingFile f("foo.cc", "ABC_DEF"); bool is_global_completion; std::string existing_completion;