Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
David Rabel committed Oct 17, 2024
1 parent f175fc9 commit 4301935
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/rules/test_new_lines.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -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))

0 comments on commit 4301935

Please sign in to comment.