mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Per the spec in modules.md the exports property should default to an empty object. We lazy allocate it so that modules that just replace it don't create the empty object and then throw it away. R=abarth@chromium.org Review URL: https://codereview.chromium.org/872043003
7 lines
137 B
Plaintext
7 lines
137 B
Plaintext
Running 2 tests
|
|
ok 1 Module should be constructable
|
|
ok 2 Module should have an empty object by default for exports
|
|
2 tests
|
|
2 pass
|
|
0 fail
|