mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +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
|
# 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'
|
'[this] is a test'
|
||||||
' and [this] is another test'
|
' and [this] is another test'
|
||||||
|
'[this] comes right at the start of a part'
|
||||||
)
|
)
|
||||||
|
|
||||||
# plain string with multiple parts across lines and comments
|
# plain string with multiple parts across lines and comments
|
||||||
|
|||||||
Reference in New Issue
Block a user