aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/tests.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-12-31 12:43:24 -0500
committerJack Lloyd <[email protected]>2016-12-31 12:43:24 -0500
commitfe1902074d75a9632cb55862c8614893711f2571 (patch)
treecce2763a7de9bb795e2b17e13fe72707991df593 /src/tests/tests.cpp
parentab3b2d298c34f7e8d06b53102741995853ce4a1f (diff)
Improve filter tests
Fix a bug in Pipe::check_available that must date back 15 years... Add destructors to compression filter so unique_ptr destructor runs without user having to include an extra header for the owned type.
Diffstat (limited to 'src/tests/tests.cpp')
-rw-r--r--src/tests/tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/tests.cpp b/src/tests/tests.cpp
index 6a7e6292a..a6b6bf802 100644
--- a/src/tests/tests.cpp
+++ b/src/tests/tests.cpp
@@ -232,7 +232,7 @@ bool Test::Result::test_eq(const std::string& what, OctetString produced, OctetS
}
else
{
- out << " produced unexpected result " << produced.as_string() << " expected " << expected.as_string();
+ out << " produced unexpected result '" << produced.as_string() << "' expected '" << expected.as_string() << "'";
return test_failure(out.str());
}
}