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

Unified Diff: tests/standalone/package/package_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/out_of_memory_test.dart ('k') | tests/standalone/package/packages/package1.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/package/package_test.dart
diff --git a/tests/standalone/package/package_test.dart b/tests/standalone/package/package_test.dart
index c71d54de012673886ad5256bee50f44411f6103a..b606a23812f34fa745211053f62e195809821472 100644
--- a/tests/standalone/package/package_test.dart
+++ b/tests/standalone/package/package_test.dart
@@ -15,5 +15,7 @@ void main() {
lib1();
// Make sure they were all reached successfully.
- Expect.equals(output, 'main|lib1|lib2|lib3');
+ if (output != 'main|lib1|lib2|lib3') {
+ throw new Error("libraries were not reached successfully");
+ }
}
« no previous file with comments | « tests/standalone/out_of_memory_test.dart ('k') | tests/standalone/package/packages/package1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698