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

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

Issue 12212016: Remove Expect from core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add deprecation comment for ExpectException and revert one test. 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
« no previous file with comments | « tests/standalone/io/process_kill_test.dart ('k') | tests/standalone/io/process_path_environment_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/process_non_ascii_test.dart
diff --git a/tests/standalone/io/process_non_ascii_test.dart b/tests/standalone/io/process_non_ascii_test.dart
index 88291bede5b7095afe6db490baab4b2baa335c6d..020b07e075f390490dfa14b3bafcdb3209a6d468 100644
--- a/tests/standalone/io/process_non_ascii_test.dart
+++ b/tests/standalone/io/process_non_ascii_test.dart
@@ -2,6 +2,7 @@
// 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 "package:expect/expect.dart";
import 'dart:io';
import 'dart:isolate';
@@ -17,7 +18,9 @@ main() {
import 'dart:io';
main() {
- Expect.equals('æøå', new File('æøå.txt').readAsStringSync());
+ if ('æøå' != new File('æøå.txt').readAsStringSync()) {
+ throw new RuntimeError("not equal");
+ }
}
""");
var nonAsciiTxtFile = new File('${nonAsciiDir.path}/æøå.txt');
« no previous file with comments | « tests/standalone/io/process_kill_test.dart ('k') | tests/standalone/io/process_path_environment_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698