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:
committed by
Sergei Krivonos
parent
5e988ff80f
commit
e9b76b896a
@ -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");
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user