Skip to content

Commit 149bb1e

Browse files
Merge pull request diffblue#240 from hannes-steffenhagen-diffblue/fix-variable-sensitivity-unit-test
Fix variable sensitivity unit test
2 parents f908a55 + 8ff41f5 commit 149bb1e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

unit/analyses/variable-sensitivity/last_written_location.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include <util/type.h>
2525
#include <analyses/variable-sensitivity/abstract_enviroment.h>
2626
#include <util/arith_tools.h>
27+
#include <analyses/variable-sensitivity/variable_sensitivity_object_factory.h>
2728

2829
//#include <src/ansi-c/c_to_expr.h>
2930

@@ -50,6 +51,8 @@ SCENARIO("Constructing two environments to make sure we correctly identify modif
5051
symbol_table.add(second_sym);
5152
namespacet ns(symbol_table);
5253

54+
variable_sensitivity_object_factoryt::instance().set_options(optionst{});
55+
5356
WHEN("The identifiers get inserted into two environments")
5457
{
5558
abstract_environmentt env;

0 commit comments

Comments
 (0)