Update tests/test_syntax_errors.py
Co-authored-by: Adrien Vergé <adrienverge@gmail.com>
This commit is contained in:
@@ -94,7 +94,8 @@ class YamlLintTestCase(RuleTestCase):
|
|||||||
'...\n', None)
|
'...\n', None)
|
||||||
|
|
||||||
def test_invalid_char_last(self):
|
def test_invalid_char_last(self):
|
||||||
self.check('---\nkey: value\t\n',
|
self.check('---\n'
|
||||||
|
'key: value\t\n',
|
||||||
None, problem=(2, 11))
|
None, problem=(2, 11))
|
||||||
|
|
||||||
def test_invalid_char_first(self):
|
def test_invalid_char_first(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user