diff --git a/tests/rules/test_new_lines.py b/tests/rules/test_new_lines.py index 8895b72b..feb7f8cd 100644 --- a/tests/rules/test_new_lines.py +++ b/tests/rules/test_new_lines.py @@ -72,7 +72,7 @@ def test_platform_type(self): self.check('\n', conf) self.check('\r\n', conf, problem=(1, 1)) self.check('---\ntext\n', conf) - self.check('---\r\ntext\r\n', conf, problem1=(1, 4), problem2=(2, 5)) # yamllint disable-line rule:line-length + self.check('---\r\ntext\r\n', conf, problem1=(1, 4), problem2=(2, 5)) # yamllint disable-line rule:line-length self.check('---\r\ntext\n', conf, problem=(1, 4)) self.check('---\ntext\r\nfoo\n', conf, problem=(2, 5)) self.check('---\ntext\r\n', conf, problem=(2, 5)) @@ -84,5 +84,5 @@ def test_platform_type(self): self.check('---\r\ntext\r\n', conf) self.check('---\ntext\n', conf, problem1=(1, 4), problem2=(2, 5)) self.check('---\ntext\r\n', conf, problem=(1, 4)) - self.check('---\r\ntext\nfoo\r\n', conf, problem=(2, 4)) - self.check('---\r\ntext\n', conf, problem=(2, 4)) + self.check('---\r\ntext\nfoo\r\n', conf, problem=(2, 5)) + self.check('---\r\ntext\n', conf, problem=(2, 5))