Index: tests/standalone/io/file_read_stdio_script.dart |
diff --git a/tests/standalone/io/file_read_stdio_script.dart b/tests/standalone/io/file_read_stdio_script.dart |
index 0c5834398af060f16cca9a71aae8d57631a1e719..b2043ffb2b2c4b1feb58e4e748cf3b5cf3a15980 100644 |
--- a/tests/standalone/io/file_read_stdio_script.dart |
+++ b/tests/standalone/io/file_read_stdio_script.dart |
@@ -7,5 +7,7 @@ import 'dart:io'; |
void main() { |
var expected = new File(new Options().script).readAsStringSync(); |
var stdin = new File('/dev/fd/0').readAsStringSync(); |
- Expect.equals(expected, stdin); |
+ if (expected != stdin) { |
+ throw "stdin not equal expected file"; |
+ } |
} |