From e069caddfc0c438eb94f3a847659bc5ccdffb687 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Fri, 8 Apr 2022 09:17:35 +0100 Subject: [PATCH] Update tests/test_syntax_errors.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Adrien Vergé --- tests/test_syntax_errors.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_syntax_errors.py b/tests/test_syntax_errors.py index 12d5780..ca1cf6b 100644 --- a/tests/test_syntax_errors.py +++ b/tests/test_syntax_errors.py @@ -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):