Skip to content

Commit eb671e9

Browse files
committed
Mimics PR 1553 against develop (fix)
See diffblue#1553
1 parent 4c23e13 commit eb671e9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

unit/solvers/refinement/string_constraint_instantiation/instantiate_not_contains.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include <langapi/mode.h>
1616
#include <java_bytecode/java_bytecode_language.h>
1717
#include <util/simplify_expr.h>
18+
#include <util/config.h>
1819

1920
/// \class Types used throughout the test. Currently it is impossible to
2021
/// statically initialize this value, there is a PR to allow this
@@ -146,6 +147,9 @@ SCENARIO("instantiate_not_contains",
146147
symbol_tablet symtbl;
147148
const namespacet ns(symtbl);
148149

150+
// initialize architecture with sensible default values
151+
config.set_arch("none");
152+
149153
GIVEN("The not_contains axioms of String.lastIndexOf(String, Int)")
150154
{
151155
// Creating strings

0 commit comments

Comments
 (0)