mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
py: Inline expectation should have space before $
This commit is contained in:
@@ -8,7 +8,7 @@ foo_attr = "foo_attr"
|
||||
__private_foo_attr = "__private_foo_attr"
|
||||
|
||||
# A reexport of bar under a new name. Used in main.py
|
||||
import bar as bar_reexported #$ imports=bar as=bar_reexported
|
||||
check("bar_reexported.bar_attr", bar_reexported.bar_attr, "bar_attr", globals()) #$ prints=bar_attr
|
||||
import bar as bar_reexported # $ imports=bar as=bar_reexported
|
||||
check("bar_reexported.bar_attr", bar_reexported.bar_attr, "bar_attr", globals()) # $ prints=bar_attr
|
||||
|
||||
exit(__file__)
|
||||
|
||||
Reference in New Issue
Block a user