Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1251)

Unified Diff: tests/standalone/io/file_read_stdio_script.dart

Issue 13724021: Remove deprecated Expect from the libraries. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Rebase. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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";
+ }
}
« no previous file with comments | « tests/standalone/io/file_read_special_device_test.dart ('k') | tests/standalone/io/file_system_delete_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698