Update tests/test_syntax_errors.py

Co-authored-by: Adrien Vergé <adrienverge@gmail.com>
This commit is contained in:
Sorin Sbarnea
2022-04-08 09:17:35 +01:00
committed by GitHub
parent 6f7ae97382
commit e069caddfc

View File

@@ -94,7 +94,8 @@ class YamlLintTestCase(RuleTestCase):
'...\n', None)
def test_invalid_char_last(self):
self.check('---\nkey: value\t\n',
self.check('---\n'
'key: value\t\n',
None, problem=(2, 11))
def test_invalid_char_first(self):