diff options
Diffstat (limited to 'src/tests/tests.h')
-rw-r--r-- | src/tests/tests.h | 3 |
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; } |