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

Unified Diff: lib/dom/scripts/templateloader_test.py

Issue 10694169: Add template comments; update copyright in template file in anticipation of new uses. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | « lib/dom/scripts/templateloader.py ('k') | lib/dom/templates/callback.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/scripts/templateloader_test.py
diff --git a/lib/dom/scripts/templateloader_test.py b/lib/dom/scripts/templateloader_test.py
index 165b566f8b92966283e91479be5e86efe14df704..f4e5bed659c4d09cc19731448568475cf3772e05 100755
--- a/lib/dom/scripts/templateloader_test.py
+++ b/lib/dom/scripts/templateloader_test.py
@@ -44,6 +44,12 @@ ACTUAL :
$B'''
self._preprocess_test(input_text, {}, input_text)
+ def test_comments(self):
+ input_text = '''//$ comment 1
+Hello
+//$ comment 2'''
+ self._preprocess_test(input_text, {}, 'Hello\n')
+
def test_ite1(self):
input_text = '''
« no previous file with comments | « lib/dom/scripts/templateloader.py ('k') | lib/dom/templates/callback.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698