aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/libutil/closure.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/libutil/closure.cc')
-rw-r--r--tests/unit/libutil/closure.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/libutil/closure.cc b/tests/unit/libutil/closure.cc
index b4eaad6f9..8cac9a9fd 100644
--- a/tests/unit/libutil/closure.cc
+++ b/tests/unit/libutil/closure.cc
@@ -28,7 +28,7 @@ TEST(closure, correctClosure) {
}
TEST(closure, properlyHandlesDirectExceptions) {
- struct TestExn {};
+ struct TestExn : std::exception {};
EXPECT_THROW(
computeClosure<string>(
{"A"},