diff options
Diffstat (limited to 'src/tests/tests.cpp')
-rw-r--r-- | src/tests/tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/tests.cpp b/src/tests/tests.cpp index 537c27b3e..8e21a8d38 100644 --- a/src/tests/tests.cpp +++ b/src/tests/tests.cpp @@ -253,12 +253,12 @@ bool Test::Result::test_eq(const std::string& what, if(produced == expected) { - out << " produced expected result " << produced.as_string(); + out << " produced expected result " << produced.to_string(); return test_success(out.str()); } else { - out << " produced unexpected result '" << produced.as_string() << "' expected '" << expected.as_string() << "'"; + out << " produced unexpected result '" << produced.to_string() << "' expected '" << expected.to_string() << "'"; return test_failure(out.str()); } } |