| Index: tools/json_schema_compiler/code_test.py
|
| diff --git a/tools/json_schema_compiler/code_test.py b/tools/json_schema_compiler/code_test.py
|
| index ca3652420f9018e391e2eca1f1b0f0ec9f6f13b4..fd55ad21bde04cb373ceed7ff7963a2662409f8b 100755
|
| --- a/tools/json_schema_compiler/code_test.py
|
| +++ b/tools/json_schema_compiler/code_test.py
|
| @@ -148,6 +148,14 @@ class CodeTest(unittest.TestCase):
|
| '// ' + 'x' * 77 + '\n'
|
| '// ' + 'x' * 23,
|
| c.Render())
|
| + c = Code(indent_size=2, comment_length=40)
|
| + c.Comment('Pretend this is a Closure Compiler style comment, which should '
|
| + 'both wrap and indent', comment_prefix=' * ', wrap_indent=4)
|
| + self.assertEquals(
|
| + ' * Pretend this is a Closure Compiler\n'
|
| + ' * style comment, which should both\n'
|
| + ' * wrap and indent',
|
| + c.Render())
|
|
|
| def testCommentWithSpecialCharacters(self):
|
| c = Code()
|
|
|