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

Unified Diff: sky/tests/modules/imports-can-import.sky

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
« no previous file with comments | « sky/tests/modules/import-without-export.sky ('k') | sky/tests/modules/imports-can-import-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/modules/imports-can-import.sky
diff --git a/sky/tests/modules/imports-can-import.sky b/sky/tests/modules/imports-can-import.sky
index 46fb39d9ee589af90f5f7d2f3e89f1cefba1b1a7..34483266cff2f9b814739c2c3db054b7fc653fd6 100644
--- a/sky/tests/modules/imports-can-import.sky
+++ b/sky/tests/modules/imports-can-import.sky
@@ -2,6 +2,10 @@
<import src="resources/intermediate.sky" as="chocolate" />
<div id="result">FAIL</div>
<script>
-document.getElementById("result").textContent = JSON.stringify(chocolate);
+import "dart:sky";
+
+void main() {
+ document.getElementById("result").textContent = chocolate.message;
+}
</script>
</html>
« no previous file with comments | « sky/tests/modules/import-without-export.sky ('k') | sky/tests/modules/imports-can-import-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698