Update json tests

This commit is contained in:
daleclack 2023-01-30 18:12:36 +08:00
parent abd30c88d9
commit 118df12a03
3 changed files with 1 additions and 3 deletions

Binary file not shown.

View File

@ -38,8 +38,7 @@ void create_json_file()
}, },
"result": { "result": {
"backgrounds": ["test1.png", "test2.png", "test3.png"] "backgrounds": ["test1.png", "test2.png", "test3.png"]
}, }
"data2": {}
})"); })");
data["data2"] = data2; data["data2"] = data2;

View File

@ -1,6 +1,5 @@
{ {
"data2": { "data2": {
"data2": {},
"error": { "error": {
"code": 101, "code": 101,
"message": "operation failed!" "message": "operation failed!"