summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorOr Bahari <orbahari@mail.tau.ac.il>2021-01-02 15:43:36 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-01-03 20:30:27 +0100
commit60e284872d46c4bc67814b262a5389e0b1d14b94 (patch)
treed94e24a27190b99126c57693fa065ab9a9cafa31 /tests
parentb41e8d940dbd0a92d2805a99eb0f97c01f620197 (diff)
downloadpylint-git-60e284872d46c4bc67814b262a5389e0b1d14b94.tar.gz
empty-comment line number bug fix
Diffstat (limited to 'tests')
-rw-r--r--tests/extensions/test_empty_comment.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/extensions/test_empty_comment.py b/tests/extensions/test_empty_comment.py
index 87ddc1c8e..f4e2ed947 100644
--- a/tests/extensions/test_empty_comment.py
+++ b/tests/extensions/test_empty_comment.py
@@ -28,7 +28,7 @@ def test_comment_base_case(linter):
for msg in msgs:
assert msg.symbol == "empty-comment"
assert msg.msg == "Line with empty comment"
- assert msgs[0].line == 1
- assert msgs[1].line == 2
- assert msgs[2].line == 4
- assert msgs[3].line == 6
+ assert msgs[0].line == 2
+ assert msgs[1].line == 3
+ assert msgs[2].line == 5
+ assert msgs[3].line == 7