Chromium Code Reviews| Index: tests/standalone/io/list_output_stream_test.dart |
| diff --git a/tests/standalone/io/list_output_stream_test.dart b/tests/standalone/io/list_output_stream_test.dart |
| index 6be222af48b210e233edfb288be50df6b8667361..ad3b0293b32f85a6ae047a2ab3e6c02cde05a578 100644 |
| --- a/tests/standalone/io/list_output_stream_test.dart |
| +++ b/tests/standalone/io/list_output_stream_test.dart |
| @@ -126,11 +126,11 @@ void testListOutputStream4() { |
| stream.onData = onData; |
| stream.onClosed = onClosed; |
| - new Timer(0, (_) { |
| + Timer.run(() { |
| result.add(1); |
| stream.write([2]); |
| - new Timer(0, (_) { |
| + Timer.run(() { |
| result.add(3); |
| stream.write([4]); |
| stream.close(); |