diff --git a/JsonGeneratorTests/JsonArrayTests.cpp b/JsonGeneratorTests/JsonArrayTests.cpp index 298e4094..3b7bdea0 100644 --- a/JsonGeneratorTests/JsonArrayTests.cpp +++ b/JsonGeneratorTests/JsonArrayTests.cpp @@ -78,6 +78,14 @@ namespace JsonGeneratorTests AssertJsonIs("[false]"); } + TEST_METHOD(AddTwoBooleans) + { + arr.add(false); + arr.add(true); + + AssertJsonIs("[false,true]"); + } + void AssertJsonIs(const char* expected) { char buffer[256];