Skip to content

Commit 4782b48

Browse files
committed
Fix invariant regression tests
1 parent efb1c40 commit 4782b48

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

regression/invariants/driver.cpp

+11-9
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,18 @@ class structured_error_testt: public invariant_failedt
4040
const std::string &function,
4141
int line,
4242
const std::string &backtrace,
43+
const std::string &condition,
4344
int code,
44-
const std::string &_description):
45-
invariant_failedt(
46-
file,
47-
function,
48-
line,
49-
backtrace,
50-
pretty_print(code, _description)),
51-
error_code(code),
52-
description(_description)
45+
const std::string &_description)
46+
: invariant_failedt(
47+
file,
48+
function,
49+
line,
50+
backtrace,
51+
condition,
52+
pretty_print(code, _description)),
53+
error_code(code),
54+
description(_description)
5355
{
5456
}
5557
};

0 commit comments

Comments
 (0)