mirror of
https://github.com/github/codeql.git
synced 2025-12-22 11:46:32 +01:00
update MaD test to reflect that dotted module names don't work
This commit is contained in:
@@ -48,7 +48,6 @@ isSink
|
||||
| test.py:87:8:87:67 | ControlFlowNode for Attribute() | test-sink |
|
||||
| test.py:89:21:89:23 | ControlFlowNode for one | test-source |
|
||||
| test.py:90:25:90:27 | ControlFlowNode for one | test-source |
|
||||
| test.py:95:6:95:9 | ControlFlowNode for baz1 | test-source |
|
||||
| test.py:98:6:98:9 | ControlFlowNode for baz2 | test-source |
|
||||
isSource
|
||||
| test.py:3:5:3:15 | ControlFlowNode for getSource() | test-source |
|
||||
|
||||
@@ -92,7 +92,7 @@ CallFilter.arityOne(one, two=two) # NO match
|
||||
CallFilter.arityOne(one=one, two=two) # NO match
|
||||
|
||||
from foo1.bar import baz1
|
||||
baz1(baz1) # match
|
||||
baz1(baz1) # no match, and that's the point.
|
||||
|
||||
from foo2.bar import baz2
|
||||
baz2(baz2) # match
|
||||
Reference in New Issue
Block a user