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

Unified Diff: sky/tests/modules/import-syntax-error.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/basic.sky ('k') | sky/tests/modules/import-syntax-error-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/modules/import-syntax-error.sky
diff --git a/sky/tests/modules/import-syntax-error.sky b/sky/tests/modules/import-syntax-error.sky
new file mode 100644
index 0000000000000000000000000000000000000000..1fbce0416dcdaf18783b4fd0f33c7852c2926db4
--- /dev/null
+++ b/sky/tests/modules/import-syntax-error.sky
@@ -0,0 +1,12 @@
+<html>
+<import src="../resources/dump-as-text.sky" />
+<import src="resources/syntax-error.sky" as="hello" />
+<div id="result">PASS</div>
+<script>
+import "dart:sky";
+
+void main() {
+ document.getElementById("result").textContent = hello.kHello;
+}
+</script>
+</html>
« no previous file with comments | « sky/tests/modules/basic.sky ('k') | sky/tests/modules/import-syntax-error-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698