Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: tools/json_schema_compiler/idl_schema_test.py

Issue 404203002: Extension docs: Make comments in IDL files generate paragraphs rather than (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, bump yaml files Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/json_schema_compiler/idl_schema.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/json_schema_compiler/idl_schema_test.py
diff --git a/tools/json_schema_compiler/idl_schema_test.py b/tools/json_schema_compiler/idl_schema_test.py
index 85a689e6287a578dd82c865fc75f94055de4eb99..a0457167134b5a2306b385ad20aa1106131ccefd 100755
--- a/tools/json_schema_compiler/idl_schema_test.py
+++ b/tools/json_schema_compiler/idl_schema_test.py
@@ -226,9 +226,10 @@ class IdlSchemaTest(unittest.TestCase):
'$ref': 'MyType1'}],
func['parameters'])
func = getFunction(schema, 'function4')
- self.assertEquals(('This tests if "double-quotes" are escaped correctly.'
- '<br/><br/> It also tests a comment with two newlines.'),
- func['description'])
+ self.assertEquals(
+ '<p>This tests if "double-quotes" are escaped correctly.</p>'
+ '<p>It also tests a comment with two newlines.</p>',
+ func['description'])
def testReservedWords(self):
schema = idl_schema.Load('test/idl_reserved_words.idl')[0]
« no previous file with comments | « tools/json_schema_compiler/idl_schema.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698