Added a test class for StringBuilder

This commit is contained in:
Benoît Blanchon
2014-06-26 12:50:48 +02:00
parent 6b61617133
commit 786fe994aa
5 changed files with 44 additions and 2 deletions

View File

@ -1,3 +1,8 @@
/*
* Arduino JSON library
* Benoit Blanchon 2014 - MIT License
*/
#include "StringBuilder.h"
@ -32,8 +37,8 @@ void StringBuilder::appendEscaped(const char* s)
break;
default:
buffer[length++] = *s;
default:
buffer[length++] = *s;
break;
}