diff options
Diffstat (limited to 'src/unittest/test.h')
-rw-r--r-- | src/unittest/test.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unittest/test.h b/src/unittest/test.h index 5b709100a..c9a5a2e9a 100644 --- a/src/unittest/test.h +++ b/src/unittest/test.h @@ -37,7 +37,7 @@ class TestFailedException : public std::exception { try { \ fxn(__VA_ARGS__); \ dstream << "[PASS] "; \ - } catch (TestFailedException) { \ + } catch (...) { \ dstream << "[FAIL] "; \ num_tests_failed++; \ } \ |