diff --git a/tests/RST219/bad_sub_ref.py b/tests/RST219/bad_sub_ref.py index 492fae1..9b8dc4e 100644 --- a/tests/RST219/bad_sub_ref.py +++ b/tests/RST219/bad_sub_ref.py @@ -5,7 +5,12 @@ so triggers an error: $ flake8 --select RST RST219/bad_sub_ref.py - RST219/bad_sub_ref.py:4:1: RST219 Inline substitution_reference start-string without end-string + RST219/bad_sub_ref.py:3:1: RST219 Inline substitution_reference start-string without end-string. + +Note that the line number is wrong here, it looks rst-lint is unable +to understand that paragraphs have multiple lines, so every issue of a +paragraph gets assigned to the first line. Running ``rst-lint`` +directly against this content has the same issue. One potential way to avoid this using ``|000...00>`` instead (wrapping in backticks as a inline literal).