Added a test that adds a 'false' to an array

This commit is contained in:
Benoit Blanchon committed 2014-06-24 21:17:12 +02:00
1 parent a27bb3097a
commit 77a3e1737d
2 files changed
+8 -1

No files matched your search

+7
View File
@@ -71,6 +71,13 @@ namespace JsonGeneratorTests
AssertJsonIs("[true]");
}
TEST_METHOD(AddFalse)
{
arr.add(false);
AssertJsonIs("[false]");
}
void AssertJsonIs(const char* expected)
{
char buffer[256];