Skip to content

Commit e31ca58

Browse files
committed
Swift: Post-merge fix.
1 parent 17894db commit e31ca58

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed
Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,2 @@
11
testFailures
2-
| conversions.swift:145:12:145:12 | ms2 | Unexpected result: tainted=144 |
3-
| conversions.swift:145:17:146:1 | // $ tainted=95\n | Missing result:tainted=95 |
4-
| conversions.swift:146:12:146:16 | .description | Unexpected result: tainted=144 |
5-
| conversions.swift:146:29:147:1 | // $ tainted=95\n | Missing result:tainted=95 |
6-
| conversions.swift:147:12:147:16 | .debugDescription | Unexpected result: tainted=144 |
7-
| conversions.swift:147:34:148:1 | // $ tainted=95\n | Missing result:tainted=95 |
82
failures

swift/ql/test/library-tests/dataflow/taint/core/conversions.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ func testConversions() {
142142
sink(arg: ms1.clean)
143143

144144
let ms2 = MyString(sourceString())!
145-
sink(arg: ms2) // $ tainted=95
146-
sink(arg: ms2.description) // $ tainted=95
147-
sink(arg: ms2.debugDescription) // $ tainted=95
145+
sink(arg: ms2) // $ tainted=144
146+
sink(arg: ms2.description) // $ tainted=144
147+
sink(arg: ms2.debugDescription) // $ tainted=144
148148
sink(arg: ms2.clean)
149149

150150
// ---

0 commit comments

Comments
 (0)