Index: pkg/unittest/test/unittest_test_utils.dart |
diff --git a/pkg/unittest/test/unittest_test_utils.dart b/pkg/unittest/test/unittest_test_utils.dart |
index 8385a1b7b767eea7d4a658943fead7473dc7f382..17a8cb62364bf90c449a66456dc538c2dc065361 100644 |
--- a/pkg/unittest/test/unittest_test_utils.dart |
+++ b/pkg/unittest/test/unittest_test_utils.dart |
@@ -58,33 +58,33 @@ class TestConfiguration extends Configuration { |
} |
} |
-makeDelayedSetup(index, s) => () { |
+Function makeDelayedSetup(index, s) => () { |
return new Future.delayed(new Duration(milliseconds: 1), () { |
s.write('l$index U '); |
}); |
}; |
-makeDelayedTeardown(index, s) => () { |
+Function makeDelayedTeardown(index, s) => () { |
return new Future.delayed(new Duration(milliseconds: 1), () { |
s.write('l$index D '); |
}); |
}; |
-makeImmediateSetup(index, s) => () { |
+Function makeImmediateSetup(index, s) => () { |
s.write('l$index U '); |
}; |
-makeImmediateTeardown(index, s) => () { |
+Function makeImmediateTeardown(index, s) => () { |
s.write('l$index D '); |
}; |
-runTestInIsolate(sendport) { |
+void runTestInIsolate(sendport) { |
var testConfig = new TestConfiguration(sendport); |
unittestConfiguration = testConfig; |
testFunction(testConfig); |
} |
-main() { |
+void main() { |
var replyPort = new ReceivePort(); |
Isolate.spawn(runTestInIsolate, replyPort.sendPort); |
replyPort.first.then((String msg) { |