Skip to content

Commit 603f2cd

Browse files
committed
Swift: fix test expectation properly
1 parent 0fff540 commit 603f2cd

File tree

1 file changed

+1
-1
lines changed
  • swift/ql/test/library-tests/dataflow/taint/libraries

1 file changed

+1
-1
lines changed

swift/ql/test/library-tests/dataflow/taint/libraries/int.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ func taintCollections(array: inout Array<Int>, contiguousArray: inout Contiguous
161161

162162
dictionary[0] = source2()
163163
sink(arg: dictionary)
164-
sink(arg: dictionary[0]!) // tainted=162
164+
sink(arg: dictionary[0]!) // $ tainted=162
165165
dictionary.withContiguousStorageIfAvailable({
166166
buffer in
167167
sink(arg: buffer)

0 commit comments

Comments
 (0)