summaryrefslogtreecommitdiff
path: root/unittest
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2016-12-17 22:06:55 +0400
committerAlexander Barkov <bar@mariadb.org>2016-12-17 22:06:55 +0400
commitab774974d60e86c68d7c72db2036b1dd37a38964 (patch)
tree99fe4760e2e21670936e4df91c28c12f667e66da /unittest
parent77a5dab5a279572b680383d6d6c0a09e404fffd9 (diff)
parent7d0a8832d86b81d62ea6d69d84d3c9101216bad4 (diff)
downloadmariadb-git-ab774974d60e86c68d7c72db2036b1dd37a38964.tar.gz
Merge remote-tracking branch 'origin/bb-10.2-ext' into 10.3
Diffstat (limited to 'unittest')
-rw-r--r--unittest/json_lib/json_lib-t.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/unittest/json_lib/json_lib-t.c b/unittest/json_lib/json_lib-t.c
index 49c8f7e34c2..11f02b204f8 100644
--- a/unittest/json_lib/json_lib-t.c
+++ b/unittest/json_lib/json_lib-t.c
@@ -117,11 +117,11 @@ test_path_parsing()
if (json_path_setup(&p, ci, s_e(p0)))
return;
ok(p.last_step - p.steps == 4 &&
- p.steps[0].type == JSON_PATH_ARRAY && p.steps[0].wild == 1 &&
- p.steps[1].type == JSON_PATH_KEY && p.steps[1].wild == 0 &&
+ p.steps[0].type == JSON_PATH_ARRAY_WILD &&
+ p.steps[1].type == JSON_PATH_KEY &&
p.steps[2].type == JSON_PATH_ARRAY && p.steps[2].n_item == 12 &&
- p.steps[3].type == JSON_PATH_KEY && p.steps[3].wild == 1 &&
- p.steps[4].type == JSON_PATH_ARRAY && p.steps[4].wild == 1,
+ p.steps[3].type == JSON_PATH_KEY_WILD &&
+ p.steps[4].type == JSON_PATH_ARRAY_WILD,
"path");
}