[Groonga-commit] groonga/groonga at c710b34 [master] test: really really follow syntax error message improvement

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jul 21 12:30:34 JST 2014


Kouhei Sutou	2014-07-21 12:30:34 +0900 (Mon, 21 Jul 2014)

  New Revision: c710b34c28479d2401ff154d9386804b351e8efd
  https://github.com/groonga/groonga/commit/c710b34c28479d2401ff154d9386804b351e8efd

  Message:
    test: really really follow syntax error message improvement
    
    Sorry...

  Modified files:
    test/unit/core/test-command-delete.c
    test/unit/core/test-expr-script.c

  Modified: test/unit/core/test-command-delete.c (+1 -1)
===================================================================
--- test/unit/core/test-command-delete.c    2014-07-21 12:25:09 +0900 (e625235)
+++ test/unit/core/test-command-delete.c    2014-07-21 12:30:34 +0900 (0723125)
@@ -383,6 +383,6 @@ test_invalid_filter(void)
     context,
     GRN_SYNTAX_ERROR,
     "[table][record][delete] failed to parse filter: "
-    "table: <Users>, filter: <$>, detail: <Syntax error! <$||>>",
+    "table: <Users>, filter: <$>, detail: <Syntax error: <$||>>",
     "delete Users --filter \"$\"");
 }

  Modified: test/unit/core/test-expr-script.c (+1 -1)
===================================================================
--- test/unit/core/test-expr-script.c    2014-07-21 12:25:09 +0900 (a6beaaa)
+++ test/unit/core/test-expr-script.c    2014-07-21 12:30:34 +0900 (18cd97a)
@@ -391,7 +391,7 @@ data_comparison_operator_syntax_error(void)
                  NULL)
 
   ADD_DATUM("nonexistent ==",
-            cut_take_printf("Syntax error! <nonexistent| |== 100>"),
+            cut_take_printf("Syntax error: <nonexistent| |== 100>"),
             "nonexistent == 100");
 
 #undef ADD_DATUM
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index