[glom] Improved a comment



commit edc15bada2bf52fcbd7fda338ce4d52a8313ee56
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Nov 17 13:34:10 2010 +0100

    Improved a comment

 tests/import/test_parsing.cc |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/tests/import/test_parsing.cc b/tests/import/test_parsing.cc
index c2d7f93..5a9e2e1 100644
--- a/tests/import/test_parsing.cc
+++ b/tests/import/test_parsing.cc
@@ -182,15 +182,17 @@ int main(int argc, char* argv[])
       result = false;
   }
 
-  /* TODO: Re-enable this (and fix the problem) when we can get the tests to run consistently, 
-   * without timing problems.
   // test_fail_on_non_matching_quotes
+  // Commented out because it's not clear what we want to do here.
+  // In this case, the ending newline would just appear as a quoted newline. murrayc.
+  /*
   {
     const char* raw = "\"token1\"\nthis quote has no partner\",\"token2\"\n";
     const bool finished_parsing = ImportTests::run_parser_from_buffer(&connect_signals, raw);
     const bool passed = (finished_parsing &&
                          check_tokens("token") &&
                          1 == get_tokens_instance().size());
+    print_tokens();
     get_tokens_instance().clear();
 
     if(!ImportTests::check("test_fail_on_non_matching_quotes", passed, report))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]