aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/tests.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/tests.h')
-rw-r--r--src/tests/tests.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tests/tests.h b/src/tests/tests.h
index 1ceb24f48..fb8d357d4 100644
--- a/src/tests/tests.h
+++ b/src/tests/tests.h
@@ -291,6 +291,9 @@ class Test
}
bool test_throws(const std::string& what, std::function<void ()> fn);
+
+ bool test_throws(const std::string& what, const std::string& expected,
+ std::function<void ()> fn);
void set_ns_consumed(uint64_t ns) { m_ns_taken = ns; }