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

Unified Diff: tests/standalone/io/regress_7679_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/read_into_const_list_test.dart ('k') | tests/standalone/io/regress_8828_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/regress_7679_test.dart
diff --git a/tests/standalone/io/regress_7679_test.dart b/tests/standalone/io/regress_7679_test.dart
index b13c249cd765b5303962bb6b5c22b23ee71020eb..dba91ed9ad414a403fb210fd6fd742a586d02430 100644
--- a/tests/standalone/io/regress_7679_test.dart
+++ b/tests/standalone/io/regress_7679_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';
main() {
@@ -10,6 +11,14 @@ main() {
script.writeAsStringSync("""
import 'dart:io';
+class Expect {
+ static void isTrue(var x) {
+ if (!identical(x, true)) {
+ throw new Error("Not identical");
+ }
+ }
+}
+
main() {
Directory d = new Directory('a');
d.create(recursive: true).then((_) {
« no previous file with comments | « tests/standalone/io/read_into_const_list_test.dart ('k') | tests/standalone/io/regress_8828_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698