Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a5173c commit b709ed4Copy full SHA for b709ed4
1 file changed
python/ql/test/experimental/dataflow/coverage/test_builtins.py
@@ -231,6 +231,9 @@ def test_dict_get():
231
SINK(v) #$ flow="SOURCE, l:-2 -> v"
232
v1 = d.get("non-existing", SOURCE)
233
SINK(v1) #$ flow="SOURCE, l:-1 -> v1"
234
+ k = "k"
235
+ v2 = d.get(k)
236
+ SINK(v2) #$ flow="SOURCE, l:-7 -> v2"
237
238
@expects(2)
239
def test_dict_popitem():
0 commit comments