Index: sky/tests/lowlevel/filters-expected.sky |
diff --git a/sky/tests/lowlevel/filters-expected.sky b/sky/tests/lowlevel/filters-expected.sky |
index a73b6fa41d30f4ca0f05f902b4454dfe2c9a5ee9..34757d00717860359561aa2e3c92d11d9623128f 100644 |
--- a/sky/tests/lowlevel/filters-expected.sky |
+++ b/sky/tests/lowlevel/filters-expected.sky |
@@ -1,13 +1,18 @@ |
<foo> |
-<import src="../resources/run-after-display.sky" as="runAfterDisplay" /> |
+<import src="../resources/run-after-display.sky" /> |
<img src="http://storage.googleapis.com/mojo/sky-pngs/9a7b59f74e2bbcd0d0ceee17ead05b0da64a2af7" /> |
<script> |
-window.addEventListener('load', function() { |
- runAfterDisplay(function() { |
- internals.notifyTestComplete(""); |
+import "dart:sky"; |
+import "dart:sky.internals" as internals; |
+ |
+void main() { |
+ window.addEventListener('load', (_) { |
+ runAfterDisplay(() { |
+ internals.notifyTestComplete(""); |
+ }); |
}); |
-}); |
+} |
</script> |
</foo> |