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

Unified Diff: tests/language/import_core_prefix_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/language/import_combinators_test.dart ('k') | tests/language/incr_op_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/import_core_prefix_test.dart
diff --git a/tests/language/import_core_prefix_test.dart b/tests/language/import_core_prefix_test.dart
index a3a7c93d767f1e16fb682d24fecab8fc32632412..ec237ff5b2a0580d384dac51cdcfac972348ef55 100644
--- a/tests/language/import_core_prefix_test.dart
+++ b/tests/language/import_core_prefix_test.dart
@@ -4,6 +4,7 @@
// Test explicit import of dart:core in the source code..
library ImportCorePrefixTest.dart;
+import "package:expect/expect.dart";
import "dart:core" as mycore;
class Object {
@@ -30,6 +31,6 @@ void main() {
var greenwich = new Map(51, 0);
var kpao = new Map(37, -122);
- mycore.Expect.isTrue(greenwich.isPrimeMeridian);
- mycore.Expect.isFalse(kpao.isPrimeMeridian);
+ Expect.isTrue(greenwich.isPrimeMeridian);
+ Expect.isFalse(kpao.isPrimeMeridian);
}
« no previous file with comments | « tests/language/import_combinators_test.dart ('k') | tests/language/incr_op_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698