|
|
@ -51,8 +51,8 @@ class IndentationStackTestCase(RuleTestCase):
|
|
|
|
.replace('Mapping', 'Map'))
|
|
|
|
.replace('Mapping', 'Map'))
|
|
|
|
if token_type in ('StreamStart', 'StreamEnd'):
|
|
|
|
if token_type in ('StreamStart', 'StreamEnd'):
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
output += '%9s %s\n' % (token_type,
|
|
|
|
output += '{:>9} {}\n'.format(token_type,
|
|
|
|
self.format_stack(context['stack']))
|
|
|
|
self.format_stack(context['stack']))
|
|
|
|
return output
|
|
|
|
return output
|
|
|
|
|
|
|
|
|
|
|
|
def test_simple_mapping(self):
|
|
|
|
def test_simple_mapping(self):
|
|
|
|