mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-19 05:22:24 +02:00
Test array with 2 elements
This commit is contained in:
@ -34,6 +34,16 @@ namespace JsonGeneratorTests
|
|||||||
"]");
|
"]");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TEST_METHOD(TwoElements)
|
||||||
|
{
|
||||||
|
whenInputIs("[1,2]");
|
||||||
|
outputMustBe(
|
||||||
|
"[\n"
|
||||||
|
" 1,\n"
|
||||||
|
" 2\n"
|
||||||
|
"]");
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
void whenInputIs(const char input[])
|
void whenInputIs(const char input[])
|
||||||
|
Reference in New Issue
Block a user