Skip to content

Commit 2b7fc94

Browse files
committed
Python: Fix validTest.py expectation
1 parent b709ed4 commit 2b7fc94

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/ql/test/experimental/dataflow/coverage/test_builtins.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def test_list_from_set():
5757
s = {SOURCE}
5858
l = list(s)
5959
SINK(l[0]) #$ flow="SOURCE, l:-2 -> l[0]"
60-
60+
6161
@expects(2)
6262
def test_list_from_dict():
6363
d = {SOURCE: 'v', NONSOURCE: 'v2'}
@@ -224,7 +224,7 @@ def test_dict_pop():
224224
v2 = d.pop("non-existing", SOURCE)
225225
SINK(v2) #$ flow="SOURCE, l:-1 -> v2"
226226

227-
@expects(2)
227+
@expects(3)
228228
def test_dict_get():
229229
d = {'k': SOURCE}
230230
v = d.get("k")
@@ -357,4 +357,4 @@ def test_next_dict():
357357
d = {SOURCE: "val"}
358358
i = iter(d)
359359
n = next(i)
360-
SINK(n) #$ MISSING: flow="SOURCE, l:-3 -> n"
360+
SINK(n) #$ MISSING: flow="SOURCE, l:-3 -> n"

0 commit comments

Comments
 (0)