diff --git a/test/rpc/xmlrpc_test.cc b/test/rpc/xmlrpc_test.cc
index f3a502a8..a5c2932d 100644
--- a/test/rpc/xmlrpc_test.cc
+++ b/test/rpc/xmlrpc_test.cc
@@ -69,7 +69,7 @@ XmlrpcTest::test_invalid_utf8() {
// valid UTF-8, but doesn't check strings, and Object strings are
// just a series of bytes so it reflects just fine.
std::string input = "xmlrpc_reflect\xc3\x28";
- std::string expected = "\xc3\x28";
+ std::string expected = "\xc3\x28";
std::string output;
m_xmlrpc.process(input.c_str(), input.size(), [&output](const char* c, uint32_t l){ output.append(c, l); return true;});
CPPUNIT_ASSERT_EQUAL(expected, output);
@@ -78,7 +78,7 @@ XmlrpcTest::test_invalid_utf8() {
void
XmlrpcTest::test_size_limit() {
std::string input = "xmlrpc_reflect\xc3\x28";
- std::string expected = "faultCode-509faultStringContent size exceeds maximum XML-RPC limit";
+ std::string expected = "faultCode-509faultStringContent size exceeds maximum XML-RPC limit";
std::string output;
m_xmlrpc.set_size_limit(1);
m_xmlrpc.process(input.c_str(), input.size(), [&output](const char* c, uint32_t l){ output.append(c, l); return true;});