and remove some code that should not have been committed
outputer.writeData(&impl_->os[0], impl_->os.size());
}
-void HINFO::ptr() const {
- std::cout << "[XX] PTR: " << impl_.get() << std::endl;
-}
-
// END_RDATA_NAMESPACE
// END_ISC_NAMESPACE
const std::string getCPU() const;
const std::string getOS() const;
- void ptr() const;
private:
/// Helper template function for toWire()
///
EXPECT_EQ("\"a\" \"b\"", HINFO("a b").toText());
// will not add additional quotes
EXPECT_EQ("\"a\" \"b\"", HINFO("\"a\" \"b\"").toText());
+ // And make sure escaped quotes and spaces are left intact
+ EXPECT_EQ("\"a\\\"\" \"b c\"", HINFO("\"a\\\"\" \"b c\"").toText());
}
TEST_F(Rdata_HINFO_Test, toWire) {