mirror of
https://github.com/adrienverge/yamllint.git
synced 2024-11-22 07:36:25 -06:00
style: Fix indentation test file missing whitespace
Commit 764586d
"indentation: Fix indent-sequences in nested collections"
introduced 2 style-related problems:
tests/rules/test_indentation.py:1394:45: E231 missing whitespace after ','
tests/rules/test_indentation.py:1402:45: E231 missing whitespace after ','
Let's fix them.
This commit is contained in:
parent
764586d836
commit
151b1c4086
@ -1391,7 +1391,7 @@ class IndentationTestCase(RuleTestCase):
|
|||||||
' - elem\n'
|
' - elem\n'
|
||||||
'- item:\n'
|
'- item:\n'
|
||||||
' - elem\n'
|
' - elem\n'
|
||||||
'...\n', conf, problem=(5,5))
|
'...\n', conf, problem=(5, 5))
|
||||||
conf = ('indentation: {spaces: consistent,\n'
|
conf = ('indentation: {spaces: consistent,\n'
|
||||||
' indent-sequences: consistent}')
|
' indent-sequences: consistent}')
|
||||||
self.check('---\n'
|
self.check('---\n'
|
||||||
@ -1399,7 +1399,7 @@ class IndentationTestCase(RuleTestCase):
|
|||||||
' - elem\n'
|
' - elem\n'
|
||||||
'- item:\n'
|
'- item:\n'
|
||||||
' - elem\n'
|
' - elem\n'
|
||||||
'...\n', conf, problem=(5,5))
|
'...\n', conf, problem=(5, 5))
|
||||||
conf = ('indentation: {spaces: consistent,\n'
|
conf = ('indentation: {spaces: consistent,\n'
|
||||||
' indent-sequences: whatever}')
|
' indent-sequences: whatever}')
|
||||||
self.check('---\n'
|
self.check('---\n'
|
||||||
|
Loading…
Reference in New Issue
Block a user