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

Unified Diff: test/codegen/expect/async_helper/async_helper.js

Issue 1989663002: fix #470, string interpolation now respects Dart toString (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 7 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/codegen/expect/async_helper.js ('k') | test/codegen/expect/closure.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/async_helper/async_helper.js
diff --git a/test/codegen/expect/async_helper/async_helper.js b/test/codegen/expect/async_helper/async_helper.js
index 7db700078d85dd392f93de566ae412b1d845a8e1..ac2da4d5f888bb9150baf11937ae059cb58a52c7 100644
--- a/test/codegen/expect/async_helper/async_helper.js
+++ b/test/codegen/expect/async_helper/async_helper.js
@@ -11,7 +11,7 @@ dart_library.library('async_helper', null, /* Imports */[
async_helper._onAsyncEnd = null;
async_helper._asyncLevel = 0;
async_helper._buildException = function(msg) {
- return core.Exception.new(`Fatal: ${msg}. This is most likely a bug in your test.`);
+ return core.Exception.new(dart.str`Fatal: ${msg}. This is most likely a bug in your test.`);
};
dart.fn(async_helper._buildException, core.Exception, [core.String]);
async_helper.asyncTestInitialize = function(callback) {
« no previous file with comments | « test/codegen/expect/async_helper.js ('k') | test/codegen/expect/closure.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698