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

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

Issue 1633003002: Add --modules=node support (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: regen sdk and expectations Created 4 years, 11 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
Index: test/codegen/expect/unittest.js
diff --git a/test/codegen/expect/unittest.js b/test/codegen/expect/unittest.js
index 671719272dab6d92c854ba0eec0ada83b81d5c77..dd5d86d81f2e498ff0e07ef16f5ca9e6782bc03a 100644
--- a/test/codegen/expect/unittest.js
+++ b/test/codegen/expect/unittest.js
@@ -8,10 +8,10 @@ dart_library.library('unittest', null, /* Imports */[
'matcher/src/util',
'matcher/src/description'
], /* Lazy imports */[
-], function(exports, dart, matcher, dom, core, async, interfaces, util, description$) {
+], function(exports, dart, matcher, dom, core, $async, interfaces, util, description$) {
'use strict';
let dartx = dart.dartx;
- dart.export(exports, matcher);
+ dart.export_(exports, matcher);
function group(name, body) {
return dart.dsend(dom.window, 'suite', name, body);
}
@@ -24,7 +24,7 @@ dart_library.library('unittest', null, /* Imports */[
}
dart.dsend(dom.window, 'test', name, dart.fn(done => {
function _finishTest(f) {
- if (dart.is(f, async.Future)) {
+ if (dart.is(f, $async.Future)) {
dart.dsend(f, 'then', _finishTest);
} else {
dart.dcall(done);

Powered by Google App Engine
This is Rietveld 408576698