Skip to content

Commit 7eb3b40

Browse files
authored
Merge pull request github#18219 from hvitved/rust/update-inline-expectations
Rust: update inline expectations
2 parents 81c8a70 + 1c56692 commit 7eb3b40

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)