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

Unified Diff: tests/compiler/dart2js_extra/closure_capture2_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
Index: tests/compiler/dart2js_extra/closure_capture2_test.dart
diff --git a/tests/compiler/dart2js_extra/closure_capture2_test.dart b/tests/compiler/dart2js_extra/closure_capture2_test.dart
index 21f91e437f42ab95fe2f91d0a4b5e8db587e5bb0..6c13143a86213f58e0e59c7e899f326ff43e27e2 100644
--- a/tests/compiler/dart2js_extra/closure_capture2_test.dart
+++ b/tests/compiler/dart2js_extra/closure_capture2_test.dart
@@ -2,6 +2,8 @@
// 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";
+
closure0() {
// f and g will both capture a variable named 'x'. If we use the original
// name in the (shared) box then there will be troubles.
« no previous file with comments | « tests/compiler/dart2js_extra/closure7_test.dart ('k') | tests/compiler/dart2js_extra/closure_capture3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698