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/package/packages/package1.dart

Issue 12743005: Revert "Remove Expect from core library." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reupload (first upload failed). Created 7 years, 9 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/package/package_test.dart ('k') | tests/standalone/pow_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/package/packages/package1.dart
diff --git a/tests/standalone/package/packages/package1.dart b/tests/standalone/package/packages/package1.dart
index 0977af580545ef4d84f8074b68f9f442ce9b5425..9f1b46204b04c50311d0c051ce68d54b41db0afc 100644
--- a/tests/standalone/package/packages/package1.dart
+++ b/tests/standalone/package/packages/package1.dart
@@ -9,10 +9,6 @@
#import('package:package2.dart', prefix: 'p3');
main() {
- if (!identical(p1.x, p2.x)) {
- throw new Error("Not identical");
- }
- if (!identical(p1.x, p3.x)) {
- throw new Error("Not identical");
- }
+ Expect.identical(p1.x, p2.x);
+ Expect.identical(p1.x, p3.x);
}
« no previous file with comments | « tests/standalone/package/package_test.dart ('k') | tests/standalone/pow_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698