* added unit tests for ConfigSerializer

This commit is contained in:
Scott Powell
2026-07-17 20:55:30 +10:00
parent f515716032
commit ae2667ee9e
5 changed files with 206 additions and 5 deletions
+2 -2
View File
@@ -111,7 +111,7 @@ bool ConfigSerializer::loadSerial(Stream& s) {
if (sp < CONFIG_MAX_DEPTH - 1) {
sp++;
} else {
Serial.printf("Error: max nesting reached"); // TODO: debug logging
//Serial.printf("Error: max nesting reached"); // TODO: debug logging
context.success = false;
break;
}
@@ -119,7 +119,7 @@ bool ConfigSerializer::loadSerial(Stream& s) {
if (sp > 0) {
sp--;
} else {
Serial.printf("Error: too many closing '}'"); // TODO: debug logging
//Serial.printf("Error: too many closing '}'"); // TODO: debug logging
context.success = false;
break;
}