Skip to content

Commit 1c56692

Browse files
committed
Rust: update inline expectations
1 parent 05f9a90 commit 1c56692

File tree

1 file changed

+2
-2
lines changed
  • rust/ql/test/library-tests/dataflow/sources

1 file changed

+2
-2
lines changed

rust/ql/test/library-tests/dataflow/sources/test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ fn test_env_args() {
3838
sink(arg3); // $ MISSING: hasTaintFlow
3939

4040
for arg in std::env::args() { // $ Alert[rust/summary/taint-sources]
41-
sink(arg); // $ MISSING: hasTaintFlow
41+
sink(arg); // $ hasTaintFlow
4242
}
4343

4444
for arg in std::env::args_os() { // $ Alert[rust/summary/taint-sources]
45-
sink(arg); // $ MISSING: hasTaintFlow
45+
sink(arg); // $ hasTaintFlow
4646
}
4747
}
4848

0 commit comments

Comments
 (0)