| Index: sky/tests/harness/reftest.sky
|
| diff --git a/sky/tests/harness/reftest.sky b/sky/tests/harness/reftest.sky
|
| index 14ac7626afb9c97c9c616cbabd8677c835aaabc5..1b4af65f3fb7653530a403156506be754d50c640 100644
|
| --- a/sky/tests/harness/reftest.sky
|
| +++ b/sky/tests/harness/reftest.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 reftest.
|
| <script>
|
| -runAfterDisplay(function() {
|
| - internals.notifyTestComplete("");
|
| -});
|
| +import "dart:sky.internals" as internals;
|
| +
|
| +void main() {
|
| + runAfterDisplay(() {
|
| + internals.notifyTestComplete("");
|
| + });
|
| +}
|
| </script>
|
| </foo>
|
|
|