Fix expectation in NSData tests

This commit is contained in:
Tony Torralba
2022-11-24 12:13:46 +01:00
parent 04450c5173
commit 4f8ef13cd8
2 changed files with 1 additions and 2 deletions

View File

@@ -1 +0,0 @@
| nsdata.swift:110:45:110:45 | bytes | Unexpected result: tainted=108 |

View File

@@ -107,7 +107,7 @@ func test() {
// ";NSData;true;enumerateBytes(_:);;;Argument[-1];Argument[0].Parameter[0];taint"
let nsDataTainted17 = source() as! NSData
nsDataTainted17.enumerateBytes {
bytes, byteRange, stop in sink(arg: bytes) // tainted=108
bytes, byteRange, stop in sink(arg: bytes) // $ tainted=108
}
// ";NSData;true;getBytes(_:);;;Argument[-1];Argument[0];taint",
let nsDataTainted18 = source() as! NSData