diff --git a/tests/test_matrix_snapshot_compat.cpp b/tests/test_matrix_snapshot_compat.cpp index d56962b..cab46f5 100644 --- a/tests/test_matrix_snapshot_compat.cpp +++ b/tests/test_matrix_snapshot_compat.cpp @@ -1,6 +1,11 @@ #include #include +// Keep this executable's assertions active in Release builds so the +// compatibility gate cannot become vacuous under -DNDEBUG. +#ifdef NDEBUG +#undef NDEBUG +#endif #include #include #include