Index: sky/tests/lowlevel/layers.sky |
diff --git a/sky/tests/lowlevel/layers.sky b/sky/tests/lowlevel/layers.sky |
index c2709abcdaaadecffbf3dfd9a2885120ad6e7123..10f1a46774bb292d02964b166be76f24a99e56d4 100644 |
--- a/sky/tests/lowlevel/layers.sky |
+++ b/sky/tests/lowlevel/layers.sky |
@@ -1,6 +1,6 @@ |
<sky> |
-<import src="../resources/run-after-display.sky" as="runAfterDisplay" /> |
+<import src="../resources/run-after-display.sky" /> |
<style> |
sky { |
padding: 10px; |
@@ -68,9 +68,13 @@ Transforms |
</div> |
<script> |
-runAfterDisplay(function() { |
- internals.notifyTestComplete(""); |
-}); |
+import "dart:sky.internals" as internals; |
+ |
+void main() { |
+ runAfterDisplay(() { |
+ internals.notifyTestComplete(""); |
+ }); |
+} |
</script> |
</sky> |