Skip to content

Commit 09ba25f

Browse files
committed
C++: Accept test changes. I'm actually not sure why we lose these results (and lose the field conflation, yay) It might be due to github#3364.
1 parent 8c95a9a commit 09ba25f

File tree

1 file changed

+4
-4
lines changed
  • cpp/ql/test/library-tests/dataflow/smart-pointers-taint

1 file changed

+4
-4
lines changed

cpp/ql/test/library-tests/dataflow/smart-pointers-taint/test.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ void test_unique_ptr_struct() {
2323

2424
sink(p1->x); // $ MISSING: ast,ir
2525
sink(p1->y);
26-
sink(p2->x); // $ ir=22:46
27-
sink(p2->y); // $ SPURIOUS: ir=22:46
26+
sink(p2->x); // $ MISSING: ast,ir
27+
sink(p2->y);
2828
}
2929

3030
void test_shared_ptr_int() {
@@ -41,6 +41,6 @@ void test_shared_ptr_struct() {
4141

4242
sink(p1->x); // $ MISSING: ast,ir
4343
sink(p1->y);
44-
sink(p2->x); // $ ir=40:46
45-
sink(p2->y); // $ SPURIOUS: ir=40:46
44+
sink(p2->x); // $ MISSING: ast,ir
45+
sink(p2->y);
4646
}

0 commit comments

Comments
 (0)