Skip to content

Commit a70975f

Browse files
committed
CPP: Update test comments.
1 parent c007d4f commit a70975f

File tree

1 file changed

+3
-3
lines changed
  • cpp/ql/test/library-tests/dataflow/taint-tests

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,22 +227,22 @@ void test_lambdas()
227227

228228
auto a = [t, u]() -> int {
229229
sink(t); // tainted
230-
sink(u); // clean [FALSE POSITIVE]
230+
sink(u); // clean
231231
return t;
232232
};
233233
sink(a()); // tainted
234234

235235
auto b = [&] {
236236
sink(t); // tainted
237-
sink(u); // clean [FALSE POSITIVE]
237+
sink(u); // clean
238238
v = source(); // (v is reference captured)
239239
};
240240
b();
241241
sink(v); // tainted [NOT DETECTED]
242242

243243
auto c = [=] {
244244
sink(t); // tainted
245-
sink(u); // clean [FALSE POSITIVE]
245+
sink(u); // clean
246246
};
247247
c();
248248

0 commit comments

Comments
 (0)