Skip to content

Commit cdf1db0

Browse files
committed
Python: add test for part boundaries
1 parent 73aa302 commit cdf1db0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python/ql/test/library-tests/regexparser/locations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,10 @@
5555
)
5656

5757
# plain string with multiple parts across lines
58-
re.compile( # $ location=1:2 location=2:7
58+
re.compile( # $ location=1:2 location=2:7 SPURIOUS:location=2:29 MISSING:location=3:2
5959
'[this] is a test'
6060
' and [this] is another test'
61+
'[this] comes right at the start of a part'
6162
)
6263

6364
# plain string with multiple parts across lines and comments

0 commit comments

Comments
 (0)