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

Unified Diff: grit/format/rc_header_unittest.py

Issue 176993010: Start to implicitly include \n in rc_header_format. (Closed) Base URL: https://grit-i18n.googlecode.com/svn/trunk
Patch Set: Created 6 years, 10 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 | « grit/format/rc_header.py ('k') | grit/tool/build.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: grit/format/rc_header_unittest.py
diff --git a/grit/format/rc_header_unittest.py b/grit/format/rc_header_unittest.py
index dccead1818a74611308827d577515d76620fc1f6..5d780e3e44a44c5f7f37c813b0f27f84a6152cb5 100644
--- a/grit/format/rc_header_unittest.py
+++ b/grit/format/rc_header_unittest.py
@@ -181,7 +181,7 @@ class RcHeaderFormatterUnittest(unittest.TestCase):
# Using a custom rc_header format string.
grd.AssignRcHeaderFormat(
- '#define {textual_id} _Pragma("{textual_id}") {numeric_id}\n')
+ '#define {textual_id} _Pragma("{textual_id}") {numeric_id}')
output = rc_header.FormatDefines(grd, grd.ShouldOutputAllResourceDefines(),
grd.GetRcHeaderFormat())
self.assertEqual(('#define IDR_LOGO _Pragma("IDR_LOGO") 300\n'
« no previous file with comments | « grit/format/rc_header.py ('k') | grit/tool/build.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698