Skip to content

Commit ae5a2d8

Browse files
Syntax Tests: Add symbol test assertion details (#408)
1 parent 42f06ac commit ae5a2d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/syntaxtest_dev.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def get_details_of_test_assertion_line(self, pos):
117117
test_start_token = re.match(fr'^\s*({re.escape(tokens.comment_start)})', line_text)
118118
assertion_colrange = None
119119
if test_start_token:
120-
assertion = re.match(r'\s*(?:(<-)|(\^+))', line_text[test_start_token.end():])
120+
assertion = re.match(r'\s*(?:(<-)|(\^+|@+))', line_text[test_start_token.end():])
121121
if assertion:
122122
if assertion.group(1):
123123
assertion_colrange = (test_start_token.start(1),

0 commit comments

Comments
 (0)