Added a test of an empty object

This commit is contained in:
Benoit Blanchon
2014-08-25 09:23:41 +02:00
parent 030c8542e7
commit 380722402f

View File

@ -25,6 +25,12 @@ namespace JsonGeneratorTests
outputMustBe(""); outputMustBe("");
} }
TEST_METHOD(EmptyObject)
{
whenInputIs("{}");
outputMustBe("{}");
}
private: private:
void whenInputIs(const char input[]) void whenInputIs(const char input[])