Index: sky/tests/harness/reftest-mismatch.sky |
diff --git a/sky/tests/harness/reftest-mismatch.sky b/sky/tests/harness/reftest-mismatch.sky |
index 44bcc28f18cc38c3776918e5454f2fb0fbd28282..bb02aeeb76da5d4d773cca517adee7b3ba527959 100644 |
--- a/sky/tests/harness/reftest-mismatch.sky |
+++ b/sky/tests/harness/reftest-mismatch.sky |
@@ -1,9 +1,13 @@ |
<foo> |
-<import src="../resources/run-after-display.sky" as="runAfterDisplay" /> |
+<import src="../resources/run-after-display.sky" /> |
This is a mismatch reftest. Should not match. |
<script> |
-runAfterDisplay(function() { |
- internals.notifyTestComplete(""); |
-}); |
+import "dart:sky.internals" as internals; |
+ |
+void main() { |
+ runAfterDisplay(() { |
+ internals.notifyTestComplete(""); |
+ }); |
+} |
</script> |
</foo> |