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

Unified Diff: test/message/testcfg.py

Issue 2840543002: [d8] implement console for d8. (Closed)
Patch Set: no stress Created 3 years, 8 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 | « test/message/console.out ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/testcfg.py
diff --git a/test/message/testcfg.py b/test/message/testcfg.py
index 620328e90d9090f7e2b15f9951915fa06801656f..0576458af24a4e19c23521ef8d1e105f65161a6c 100644
--- a/test/message/testcfg.py
+++ b/test/message/testcfg.py
@@ -107,6 +107,7 @@ class MessageTestSuite(testsuite.TestSuite):
expected_lines, actual_lines, fillvalue=''):
pattern = re.escape(expected.rstrip() % env)
pattern = pattern.replace("\\*", ".*")
+ pattern = pattern.replace("\\{NUMBER\\}", "\d(?:\.\d*)?")
pattern = "^%s$" % pattern
if not re.match(pattern, actual):
return True
« no previous file with comments | « test/message/console.out ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698