| Index: tests/standalone/io/process_stderr_test.dart
|
| diff --git a/tests/standalone/io/process_stderr_test.dart b/tests/standalone/io/process_stderr_test.dart
|
| index 8c57880ac5a45d10c0957b6b97a53398c48268ac..11141e32630506bec7d1a4cbc9e59d3585266054 100644
|
| --- a/tests/standalone/io/process_stderr_test.dart
|
| +++ b/tests/standalone/io/process_stderr_test.dart
|
| @@ -9,8 +9,10 @@
|
| // VMOptions=--short_socket_write
|
| // VMOptions=--short_socket_read --short_socket_write
|
|
|
| -#import("dart:io");
|
| -#source("process_test_util.dart");
|
| +#import('dart:io');
|
| +#import('dart:math');
|
| +
|
| +#source('process_test_util.dart');
|
|
|
| void test(Process process, int expectedExitCode) {
|
| // Wait for the process to start and then interact with it.
|
| @@ -27,7 +29,7 @@ void test(Process process, int expectedExitCode) {
|
| void readData() {
|
| buffer.addAll(input.read());
|
| for (int i = received;
|
| - i < Math.min(data.length, buffer.length) - 1;
|
| + i < min(data.length, buffer.length) - 1;
|
| i++) {
|
| Expect.equals(data[i], buffer[i]);
|
| }
|
|
|