From f58448cb21a5f75d5cb29aa2f93c8250f949554c Mon Sep 17 00:00:00 2001 From: Andrew Imeson Date: Sat, 19 Mar 2022 11:16:30 -0400 Subject: [PATCH] Fix spelling of "across" in test output --- tests/rules/test_line_length.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/rules/test_line_length.py b/tests/rules/test_line_length.py index 245fe4d..22a439e 100644 --- a/tests/rules/test_line_length.py +++ b/tests/rules/test_line_length.py @@ -181,13 +181,13 @@ class LineLengthTestCase(RuleTestCase): conf = 'line-length: {max: 53}' self.check('---\n' '# This is a test to check if “line-length” works nice\n' - 'with: “unicode characters” that span accross bytes! ↺\n', + 'with: “unicode characters” that span across bytes! ↺\n', conf) - conf = 'line-length: {max: 52}' + conf = 'line-length: {max: 51}' self.check('---\n' '# This is a test to check if “line-length” works nice\n' - 'with: “unicode characters” that span accross bytes! ↺\n', - conf, problem1=(2, 53), problem2=(3, 53)) + 'with: “unicode characters” that span across bytes! ↺\n', + conf, problem1=(2, 52), problem2=(3, 52)) def test_with_dos_newlines(self): conf = ('line-length: {max: 10}\n'