We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2737b67 commit 786b378Copy full SHA for 786b378
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