Replace // $:tag with // $ tag in 2 tests

This commit is contained in:
Owen Mansel-Chan
2026-03-04 11:27:15 +00:00
parent d4ba2d68f9
commit b475f14575
2 changed files with 3 additions and 3 deletions

View File

@@ -75,7 +75,7 @@ void test_sources() {
int e = localMadSource();
sink(e); // $ ir
sink(MyNamespace::namespaceLocalMadSource()); // $: ir
sink(MyNamespace::namespaceLocalMadSource()); // $ ir
sink(MyNamespace::namespaceLocalMadSourceVar); // $ ir
sink(MyNamespace::MyNamespace2::namespace2LocalMadSource()); // $ ir
sink(MyNamespace::localMadSource()); // $ (the MyNamespace version of this function is not a source)
@@ -475,4 +475,4 @@ void test_receive_array() {
int array[10] = {x};
int y = receive_array(array);
sink(y); // $ ir
}
}

View File

@@ -203,7 +203,7 @@ func taintThroughInterpolatedStrings() {
sink(arg: try! NSString(contentsOfFile: sourceString(), encoding: 0)) // $ tainted=204
sink(arg: try! NSString(contentsOfFile: sourceString(), usedEncoding: nil)) // $ tainted=205
sink(arg: try! NSString(contentsOf: sourceURL(), encoding: 0)) // $: tainted=206
sink(arg: try! NSString(contentsOf: sourceURL(), encoding: 0)) // $ tainted=206
sink(arg: try! NSString(contentsOf: URL(string: sourceString())!, encoding: 0)) // $ tainted=207
sink(arg: try! NSString(contentsOf: sourceURL(), usedEncoding: nil)) // $ tainted=208
sink(arg: try! NSString(contentsOf: URL(string: sourceString())!, usedEncoding: nil)) // $ tainted=209