We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0c848b commit 82899ceCopy full SHA for 82899ce
1 file changed
tests/LoadMaterialPropertyTest.cxx
@@ -267,7 +267,13 @@ static void test7(const std::string& library) {
267
auto s = OutputStatus{};
268
s.status = 2;
269
mp.fct(&s, &T, 1, op);
270
- check(s.status == -3, "invalid output status");
+ if constexpr (math_errhandling & MATH_ERRNO) {
271
+ check(s.status == -3,
272
+ "invalid output status ('" + std::to_string(s.status) + "')");
273
+ } else {
274
+ check(s.status == 0,
275
276
+ }
277
}
278
279
0 commit comments