git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@701 e5f2f494-b856-4b98-b285-d166d9295462
@@ -47,7 +47,7 @@ throwParseError(const std::string error, const std::string file, int line = 0, i
{
if (line != 0 || pos != 0) {
std::stringstream ss;
- ss << error << "in " + file + ":" << line << ":" << pos;
+ ss << error << " in " + file + ":" << line << ":" << pos;
throw ParseError(ss.str());
} else {
throw ParseError(error);
@@ -75,7 +75,7 @@ TEST(Element, from_and_to_str) {
Element::createFromString("{1}");
} catch (isc::data::ParseError pe) {
std::string s = std::string(pe.what());
- EXPECT_EQ(s, "String expected line 1 pos 3");
+ EXPECT_EQ(s, "String expected in <unknown>:1:3");
}
sv.clear();