Skip to content

Commit

Permalink
test: really really follow syntax error message improvement
Browse files Browse the repository at this point in the history
Sorry...
  • Loading branch information
kou committed Jul 21, 2014
1 parent 8d408e7 commit c710b34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/unit/core/test-command-delete.c
Expand Up @@ -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 \"$\"");
}
2 changes: 1 addition & 1 deletion test/unit/core/test-expr-script.c
Expand Up @@ -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
Expand Down

0 comments on commit c710b34

Please sign in to comment.