fix tests
This commit is contained in:
2024-08-27 11:10:47 +02:00
parent b06435f557
commit 47533c3b3d
3 changed files with 7 additions and 7 deletions
+4 -2
View File
@@ -49,8 +49,10 @@ TEST(UI_item, from_json)
j["id"] = "item_id";
j["text"] = "item_text";
j["text_size"] = 12;
j["fg_color"] = "0xFFFFFF00";
j["bg_color"] = "0x00000000";
j["fg_color"] = "0xFFFFFFFF";
j["bg_color"] = "0x000000FF";
j["enabled"] = true;
j["visible"] = true;
item.from_json(j);
EXPECT_EQ(item.id(), "item_id");