This commit is contained in:
Tester23
2025-11-20 13:29:24 +01:00
parent 1f4ba0d8b0
commit 9f4c5250b6

View File

@@ -1499,6 +1499,9 @@ void Test_Berry_JSON() {
CMD_ExecuteCommand("berry import json; setChannel(11, 1000+json.load('{\"a\": 567}')[\"a\"])", 0);
SELFTEST_ASSERT_CHANNEL(11, 1000+567);
CMD_ExecuteCommand("berry import json; setChannel(11, 1000+json.load('{\"a\": {\"b\": 678}}')[\"a\"][\"b\"])", 0);
SELFTEST_ASSERT_CHANNEL(11, 1000 + 678);
}
extern const char *owm_sample_reply;
void Test_Berry_OpenWeatherMap() {