mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +01:00
Python: add test for part boundaries
This commit is contained in:
@@ -55,9 +55,10 @@ re.compile( # $ location=1:2 location=1:26
|
||||
)
|
||||
|
||||
# plain string with multiple parts across lines
|
||||
re.compile( # $ location=1:2 location=2:7
|
||||
re.compile( # $ location=1:2 location=2:7 SPURIOUS:location=2:29 MISSING:location=3:2
|
||||
'[this] is a test'
|
||||
' and [this] is another test'
|
||||
'[this] comes right at the start of a part'
|
||||
)
|
||||
|
||||
# plain string with multiple parts across lines and comments
|
||||
|
||||
Reference in New Issue
Block a user