| Index: tests/standalone/io/file_read_stdio_script.dart
|
| diff --git a/samples/tests/samples/standalone/time_test.dart b/tests/standalone/io/file_read_stdio_script.dart
|
| similarity index 57%
|
| copy from samples/tests/samples/standalone/time_test.dart
|
| copy to tests/standalone/io/file_read_stdio_script.dart
|
| index 32a8726ccaba707e59d14c9eb5589b446682c6d3..0c5834398af060f16cca9a71aae8d57631a1e719 100644
|
| --- a/samples/tests/samples/standalone/time_test.dart
|
| +++ b/tests/standalone/io/file_read_stdio_script.dart
|
| @@ -2,13 +2,10 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -import '../../../time/time_server.dart' as time;
|
| +import 'dart:io';
|
|
|
| -// @static-clean
|
| -
|
| -/**
|
| - * This test exists to ensure that the time sample compiles without errors.
|
| - */
|
| void main() {
|
| -
|
| + var expected = new File(new Options().script).readAsStringSync();
|
| + var stdin = new File('/dev/fd/0').readAsStringSync();
|
| + Expect.equals(expected, stdin);
|
| }
|
|
|