| 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 8431d9540d9e2eb42e29275dfceb71aa2c6f0278..a089f7fb6f88125db39f1e171f36f64b91f2d534 100644 | 
| --- a/tools/json_schema_compiler/code_test.py | 
| +++ b/tools/json_schema_compiler/code_test.py | 
| @@ -148,5 +148,17 @@ class CodeTest(unittest.TestCase): | 
| '// ' + 'x' * 23, | 
| c.Render()) | 
|  | 
| +  def testCommentWithSpecialCharacters(self): | 
| +    c = Code() | 
| +    c.Comment('20% of 80%s') | 
| +    c.Substitute({}) | 
| +    self.assertEquals('// 20% of 80%s', c.Render()) | 
| +    d = Code() | 
| +    d.Append('90') | 
| +    d.Concat(c) | 
| +    self.assertEquals('90\n' | 
| +        '// 20% of 80%s', | 
| +        d.Render()) | 
| + | 
| if __name__ == '__main__': | 
| unittest.main() | 
|  |