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

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jul 21 12:13:28 JST 2014


Kouhei Sutou	2014-07-21 12:13:28 +0900 (Mon, 21 Jul 2014)

  New Revision: 0ee249cf2876414292c03f1cf2d24cd38d0b9b03
  https://github.com/groonga/groonga/commit/0ee249cf2876414292c03f1cf2d24cd38d0b9b03

  Message:
    test: 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-17 17:22:47 +0900 (69662fa)
+++ test/unit/core/test-command-delete.c    2014-07-21 12:13:28 +0900 (c4252e4)
@@ -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-17 17:22:47 +0900 (2230399)
+++ test/unit/core/test-expr-script.c    2014-07-21 12:13:28 +0900 (09e0770)
@@ -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����������������������������...
下载 



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