diff --git a/tests/rules/test_key_duplicates.py b/tests/rules/test_key_duplicates.py index 3be7741e..3f8a9e62 100644 --- a/tests/rules/test_key_duplicates.py +++ b/tests/rules/test_key_duplicates.py @@ -87,7 +87,7 @@ def test_disabled(self): ' <<: *anchor_one\n' ' <<: *anchor_two\n', conf) self.check('---\n' - '{a:1, b:2}}\n', conf, problem=(2, 11, 'syntax')) + '{a: 1, b: 2}}\n', conf, problem=(2, 13, 'syntax')) self.check('---\n' '[a, b, c]]\n', conf, problem=(2, 10, 'syntax')) @@ -169,7 +169,7 @@ def test_enabled(self): ' <<: *anchor_one\n' ' <<: *anchor_two\n', conf) self.check('---\n' - '{a:1, b:2}}\n', conf, problem=(2, 11, 'syntax')) + '{a: 1, b: 2}}\n', conf, problem=(2, 13, 'syntax')) self.check('---\n' '[a, b, c]]\n', conf, problem=(2, 10, 'syntax'))