1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-23766: fix by my_json_writer test

This commit is contained in:
Sergei Krivonos
2021-11-08 21:11:05 +02:00
committed by Sergei Krivonos
parent 5e988ff80f
commit e9b76b896a
3 changed files with 19 additions and 21 deletions

View File

@ -110,7 +110,7 @@ int main(int args, char **argv)
Json_writer w;
w.start_array();
w.end_object();
ok(!w.invalid_json, "BAD: not checked!");
ok(w.invalid_json, "JSON object end of array");
}
// BAD:
@ -118,7 +118,7 @@ int main(int args, char **argv)
Json_writer w;
w.start_object();
w.end_array();
ok(!w.invalid_json, "BAD: not checked!");
ok(w.invalid_json, "JSON array end of object");
}