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

Unified Diff: tests/language/parameter_types_specialization_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/parameter_name_conflict_test.dart ('k') | tests/language/parse_types_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/parameter_types_specialization_test.dart
diff --git a/tests/language/parameter_types_specialization_test.dart b/tests/language/parameter_types_specialization_test.dart
index 110a714137b1e15a0a01a30750e3932d7c7bf212..532a7a75509ffc724e6af4456e200adb24cf84c6 100644
--- a/tests/language/parameter_types_specialization_test.dart
+++ b/tests/language/parameter_types_specialization_test.dart
@@ -4,6 +4,8 @@
// Test that we invalidate parameter type optimization in the presence
// of optional parameters.
+import "package:expect/expect.dart";
+
class A {
void foo(bool firstInvocation, [a = 42, b = 'foo']) {
if (firstInvocation) {
« no previous file with comments | « tests/language/parameter_name_conflict_test.dart ('k') | tests/language/parse_types_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698