Skip to content

Commit 996cda9

Browse files
committed
C++: Fix incorrect test annotation.
1 parent 80d5b17 commit 996cda9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/ql/test/library-tests/dataflow/taint-tests/smart_pointer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ template<typename T> void sink(std::unique_ptr<T>&);
99

1010
void test_make_shared() {
1111
std::shared_ptr<int> p = std::make_shared<int>(source());
12-
sink(*p); // $ MISSING: ast,ir
12+
sink(*p); // $ ast MISSING: ir
1313
sink(p); // $ ast,ir
1414
}
1515

@@ -21,7 +21,7 @@ void test_make_shared_array() {
2121

2222
void test_make_unique() {
2323
std::unique_ptr<int> p = std::make_unique<int>(source());
24-
sink(*p); // $ MISSING: ast,ir
24+
sink(*p); // $ ast MISSING: ir
2525
sink(p); // $ ast,ir
2626
}
2727

0 commit comments

Comments
 (0)