Index: test/codegen/expect/covariance.js |
diff --git a/test/codegen/expect/covariance.js b/test/codegen/expect/covariance.js |
index e5eb3d3a5840a2349cdcd7647a2255f9fc5d7bb7..2aa6778a3395dff63e30fb441f0fd5d23e74b97d 100644 |
--- a/test/codegen/expect/covariance.js |
+++ b/test/codegen/expect/covariance.js |
@@ -1,6 +1,7 @@ |
-var covariance = dart.defineLibrary(covariance, {}); |
-var core = dart.import(core); |
-(function(exports, core) { |
+dart.library('covariance.js', null, /* Imports */[ |
+ 'dart/core.js' |
+], /* Lazy imports */[ |
+], function(exports, core) { |
'use strict'; |
let _t = Symbol('_t'); |
let Foo$ = dart.generic(function(T) { |
@@ -48,4 +49,4 @@ var core = dart.import(core); |
exports.Foo = Foo; |
exports.Bar = Bar; |
exports.main = main; |
-})(covariance, core); |
+}); |