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

Unified Diff: test/message/export-duplicate-default.js

Issue 934323004: Teach ModuleDescriptor about basic local exports (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Handled review comments, added message tests Created 5 years, 10 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/message/export-duplicate-default.js
diff --git a/test/mjsunit/harmony/modules.js b/test/message/export-duplicate-default.js
similarity index 75%
copy from test/mjsunit/harmony/modules.js
copy to test/message/export-duplicate-default.js
index e56880500ba359914bbdd7223b43335eac3cc038..72a54a45f40b3d6718b670a3cbb832154032da6d 100644
--- a/test/mjsunit/harmony/modules.js
+++ b/test/message/export-duplicate-default.js
@@ -4,5 +4,5 @@
//
// MODULE
-export let a = 42;
-assertEquals(42, a);
+export default function f() {};
+export default class C {};

Powered by Google App Engine
This is Rietveld 408576698