serialization; more docu

This commit is contained in:
Marc Wäckerlin
2009-04-22 16:10:10 +00:00
parent 9548b27052
commit 94f5fd4970
4 changed files with 252 additions and 6 deletions

View File

@@ -123,7 +123,7 @@ class StringTest: public CppUnit::TestFixture {
}
void operatorBrackets() {
xml::String t("test");
CPPUNIT_ASSERT_THROW(t["zxy"], xml::access_error);
CPPUNIT_ASSERT_THROW(t[std::string("zxy")], xml::access_error);
}
void text() {
xml::String t("test");