Index: test/codegen/expect/try_catch.js |
diff --git a/test/codegen/expect/try_catch.js b/test/codegen/expect/try_catch.js |
index 6695fd2ce65fba18d6e29f9a37d4ac26574ccb3e..37a38a01966f9952cef813702b3ef59c3d680215 100644 |
--- a/test/codegen/expect/try_catch.js |
+++ b/test/codegen/expect/try_catch.js |
@@ -1,6 +1,7 @@ |
-var try_catch = dart.defineLibrary(try_catch, {}); |
-var core = dart.import(core); |
-(function(exports, core) { |
+dart.library('try_catch.js', null, /* Imports */[ |
+ 'dart/core.js' |
+], /* Lazy imports */[ |
+], function(exports, core) { |
'use strict'; |
function foo() { |
try { |
@@ -75,4 +76,4 @@ var core = dart.import(core); |
exports.qux = qux; |
exports.wub = wub; |
exports.main = main; |
-})(try_catch, core); |
+}); |