Skip to content

Commit 564a7d4

Browse files
committed
Python: change test expectations
an extra node is now in play.
1 parent c27110e commit 564a7d4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
| test.py:4:10:4:10 | ControlFlowNode for z |
2+
| test.py:7:5:7:17 | ControlFlowNode for obfuscated_id |
23
| test.py:7:19:7:19 | ControlFlowNode for a |

python/ql/test/experimental/dataflow/basic/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ def obfuscated_id(x): #$ step="FunctionExpr -> obfuscated_id"
44
return z #$ flow="42, l:+2 -> z" step="z, l:-1 -> z"
55

66
a = 42 #$ step="42 -> a"
7-
b = obfuscated_id(a) #$ flow="42, l:-1 -> b" flow="FunctionExpr, l:-6 -> obfuscated_id" step="obfuscated_id(..) -> b" step="obfuscated_id, l:-6 -> obfuscated_id" step="a, l:-1 -> a"
7+
b = obfuscated_id(a) #$ flow="42, l:-1 -> b" step="obfuscated_id(..) -> b" step="obfuscated_id, l:-6 -> obfuscated_id" step="a, l:-1 -> a"

0 commit comments

Comments
 (0)