Adding this test to specexamples:
const char* exRyan = "key: value\t \t#Comment\n";
Found the value comparison fails:
EXPECT_EQ("value", doc["key"].as<std::string>());
Where the return of as<string> is "value\t"
This should have stripped the white space after value, but it does not.
Adding this test to specexamples:
const char* exRyan = "key: value\t \t#Comment\n";Found the value comparison fails:
EXPECT_EQ("value", doc["key"].as<std::string>());Where the return of
as<string>is "value\t"This should have stripped the white space after value, but it does not.