add the following test to jsontests.cpp
class QuotedFieldName7 : public Bad {
virtual string json() const {
return "
{ \"del\\u007Fdel\" : \"b\" }
";
}
};
and the output is
JsonTests::FromJsonTests::QuotedFieldName7 Expected expression fromjson( json() ) to throw MsgAssertionException but it threw nothing. @src/mongo/dbtests/jsontests.cpp:447