Skip to content

Commit

Permalink
Fix a test case matching an error message in PCRE library
Browse files Browse the repository at this point in the history
  • Loading branch information
qbtf committed Nov 10, 2024
1 parent c387527 commit 166bdec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_rdb_cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ static void test_rdb_cli_filter_key(void **state) {
static void test_rdb_cli_filter_invalid_input(void **state) {
UNUSED(state);
/* invalid regex */
runSystemCmd(" $RDB_CLI_CMD ./test/dumps/single_key.rdb -k \"[*x\" json | grep \"Unmatched \\[\" > /dev/null");
runSystemCmd(" $RDB_CLI_CMD ./test/dumps/single_key.rdb -k \"[*x\" json | grep \"FilterKey: Error compiling regular expression\" > /dev/null");
}

static void test_rdb_cli_filter_type(void **state) {
Expand Down

0 comments on commit 166bdec

Please sign in to comment.