Skip to content

Commit 778b96a

Browse files
committed
Python: Update test expectations
1 parent eaef783 commit 778b96a

File tree

1 file changed

+3
-3
lines changed
  • python/ql/test/library-tests/dataflow/tainttracking/defaultAdditionalTaintStep

1 file changed

+3
-3
lines changed

python/ql/test/library-tests/dataflow/tainttracking/defaultAdditionalTaintStep/test_collections.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,14 +183,14 @@ def __init__(self, always_tainted, tainted_to_safe, safe_to_tainted, always_safe
183183

184184
d = replace(c, tainted_to_safe=NOT_TAINTED, safe_to_tainted=TAINTED_STRING)
185185

186-
ensure_tainted(d.always_tainted) # $ MISSING: tainted
187-
ensure_tainted(d.safe_to_tainted) # $ MISSING: tainted
186+
ensure_tainted(d.always_tainted) # $ tainted
187+
ensure_tainted(d.safe_to_tainted) # $ tainted
188188
ensure_not_tainted(d.always_safe)
189189

190190
# Currently, we have no way of stopping the value in the tainted_to_safe field (which gets
191191
# overwritten) from flowing through the replace call, which means we get a spurious result.
192192

193-
ensure_not_tainted(d.tainted_to_safe) # $
193+
ensure_not_tainted(d.tainted_to_safe) # $ SPURIOUS: tainted
194194

195195

196196

0 commit comments

Comments
 (0)