| 60 | } |
| 61 | |
| 62 | TEST(JSONParser, BoolNull) { |
| 63 | // boolean value |
| 64 | EXPECT_EQ(json::Parse("true").cast<bool>(), true); |
| 65 | EXPECT_EQ(json::Parse("false").cast<bool>(), false); |
| 66 | EXPECT_EQ(json::Parse("null"), nullptr); |
| 67 | } |
| 68 | |
| 69 | TEST(JSONParser, WrongBoolNull) { |
| 70 | String error_msg; |
nothing calls this directly
no test coverage detected