Index: test/codegen_expected/destructuring.js |
diff --git a/test/codegen_expected/destructuring.js b/test/codegen_expected/destructuring.js |
index 4365000fe3b2d689e089733969013998d28ee83c..e9365d30653d60ef5286624292908d2e9cf50b74 100644 |
--- a/test/codegen_expected/destructuring.js |
+++ b/test/codegen_expected/destructuring.js |
@@ -1,6 +1,4 @@ |
-dart_library.library('destructuring', null, /* Imports */[ |
- 'dart_sdk' |
-], function load__destructuring(exports, dart_sdk) { |
+define(['dart_sdk'], function(dart_sdk) { |
'use strict'; |
const core = dart_sdk.core; |
const dart = dart_sdk.dart; |
@@ -86,6 +84,8 @@ dart_library.library('destructuring', null, /* Imports */[ |
}; |
dart.fn(src__varargs.spread, dynamicTodynamic()); |
// Exports: |
- exports.destructuring = destructuring; |
- exports.src__varargs = src__varargs; |
+ return { |
+ destructuring: destructuring, |
+ src__varargs: src__varargs |
+ }; |
}); |