diff options
author | Sergei Krivonos <sergei.krivonos@mariadb.com> | 2021-11-08 21:11:05 +0200 |
---|---|---|
committer | Sergei Krivonos <sergeikrivonos@gmail.com> | 2021-11-09 12:06:49 +0200 |
commit | e9b76b896a5cec9804e653f7df117c49284cabba (patch) | |
tree | 504c4ffc94d76ccd1fd0aacc3f4bffaa7307942a /unittest | |
parent | 5e988ff80f51e80f4d74477c4a22a065472317d4 (diff) | |
download | mariadb-git-e9b76b896a5cec9804e653f7df117c49284cabba.tar.gz |
MDEV-23766: fix by my_json_writer test
Diffstat (limited to 'unittest')
-rw-r--r-- | unittest/sql/my_json_writer-t.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unittest/sql/my_json_writer-t.cc b/unittest/sql/my_json_writer-t.cc index 46c3f4dc967..3d23c2f021e 100644 --- a/unittest/sql/my_json_writer-t.cc +++ b/unittest/sql/my_json_writer-t.cc @@ -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"); } |