Rules: Add the 'brackets' rule

This commit is contained in:
Adrien Vergé
2016-01-13 18:52:05 +01:00
parent a5b384ab21
commit d08eb22081
9 changed files with 202 additions and 34 deletions

View File

@@ -32,7 +32,7 @@ class ColonTestCase(RuleTestCase):
' val\n'
' property : value\n'
' prop2 : val2\n'
' propriété : [ valeur ]\n'
' propriété : [valeur]\n'
' o:\n'
' k1: [v1, v2]\n'
' p:\n'
@@ -54,7 +54,7 @@ class ColonTestCase(RuleTestCase):
' val\n'
' property: value\n'
' prop2: val2\n'
' propriété: [ valeur ]\n'
' propriété: [valeur]\n'
' o:\n'
' k1: [v1, v2]\n', conf)
self.check('---\n'