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

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jul 21 12:25:09 JST 2014


Kouhei Sutou	2014-07-21 12:25:09 +0900 (Mon, 21 Jul 2014)

  New Revision: 8d408e76d396f5d10d8b3facbc528414af0b5716
  https://github.com/groonga/groonga/commit/8d408e76d396f5d10d8b3facbc528414af0b5716

  Message:
    test: really follow syntax error message improvement

  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:23:34 +0900 (c4252e4)
+++ test/unit/core/test-command-delete.c    2014-07-21 12:25:09 +0900 (e625235)
@@ -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:23:34 +0900 (09e0770)
+++ test/unit/core/test-expr-script.c    2014-07-21 12:25:09 +0900 (a6beaaa)
@@ -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