Index: tests/standalone/io/skipping_dart2js_compilations_test.dart |
diff --git a/tests/standalone/io/skipping_dart2js_compilations_test.dart b/tests/standalone/io/skipping_dart2js_compilations_test.dart |
index 74058a7d23f38c10e10b3935ed27b2b9ab77c014..d6b7eb46774d683e0ecb233125ba7563bac482ef 100644 |
--- a/tests/standalone/io/skipping_dart2js_compilations_test.dart |
+++ b/tests/standalone/io/skipping_dart2js_compilations_test.dart |
@@ -200,7 +200,7 @@ void main() { |
createDart: true, |
createSnapshot: true); |
- void touchFilesAndRunTests(Timer unused) { |
+ void touchFilesAndRunTests() { |
fs_notUpToDate_snapshot.touchFile(fs_notUpToDate_snapshot.testSnapshot); |
fs_notUpToDate_dart.touchFile(fs_notUpToDate_dart.testDart); |
fs_upToDate.touchFile(fs_upToDate.testJs); |
@@ -222,5 +222,5 @@ void main() { |
} |
// We need to wait some time to make sure that the files we 'touch' get a |
// bigger timestamp than the old ones |
- new Timer(1000, touchFilesAndRunTests); |
+ new Timer(new Duration(seconds: 1), touchFilesAndRunTests); |
} |