Chromium Code Reviews| Index: tools/grit/grit/format/html_inline_unittest.py |
| diff --git a/tools/grit/grit/format/html_inline_unittest.py b/tools/grit/grit/format/html_inline_unittest.py |
| index 16674cfe237432ee3b8db55066381fdbe2da174b..c236f4f7483de356f6ff3bbe05baab63ba64d011 100755 |
| --- a/tools/grit/grit/format/html_inline_unittest.py |
| +++ b/tools/grit/grit/format/html_inline_unittest.py |
| @@ -34,7 +34,7 @@ class HtmlInlineUnittest(unittest.TestCase): |
| href="really-long-long-long-long-long-test.css"> |
| </head> |
| <body> |
| - <include src="test.html"> |
| + <include src='test.html'> |
| <include |
| src="really-long-long-long-long-long-test-file-omg-so-long.html"> |
| <iron-icon src="[[icon]]"></iron-icon><!-- Should be ignored. --> |
| @@ -90,6 +90,9 @@ class HtmlInlineUnittest(unittest.TestCase): |
| <if expr="lang == 'fr'"> |
| bonjour |
| </if> |
| + <if expr='lang == "de"'> |
| + hallo |
| + </if> |
| </if> |
| </html> |
| ''', |
| @@ -397,6 +400,8 @@ class HtmlInlineUnittest(unittest.TestCase): |
| > |
| </include> |
| <img src="img1.png"> |
| + <include src='single-double-quotes.html"></include> |
|
Nico
2017/01/04 01:35:33
Does the file single-double-quotes.html exist? (no
Dan Beam
2017/01/04 01:40:59
no, neither of these files exist. if they're acci
|
| + <include src="double-single-quotes.html'></include> |
| </html> |
| ''', |
| 'style1.css': '''h1 {}''', |
| @@ -419,6 +424,8 @@ class HtmlInlineUnittest(unittest.TestCase): |
| <h2></h2> |
| <h2></h2> |
| <img src="data:image/png;base64,YWJj"> |
| + <include src='single-double-quotes.html"></include> |
| + <include src="double-single-quotes.html'></include> |
| </html> |
| ''' |