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> |