Test an object with one member

This commit is contained in:
Benoit Blanchon
2014-08-25 09:52:42 +02:00
parent e31a2136fc
commit 75c89e7b35
3 changed files with 35 additions and 3 deletions

View File

@ -37,6 +37,14 @@ namespace JsonGeneratorTests
outputMustBe("[]");
}
TEST_METHOD(ObjectWithOneMember)
{
whenInputIs("{\"key\":\"value\"}");
outputMustBe(
"{\n"
" \"key\":\"value\"\n"
"}");
}
private: