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

Unified Diff: tests/standalone/status_expression_test.dart

Issue 13724021: Remove deprecated Expect from the libraries. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Rebase. 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/io/test_runner_test.dart ('k') | tests/standalone/typed_data_view_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/status_expression_test.dart
diff --git a/tests/standalone/status_expression_test.dart b/tests/standalone/status_expression_test.dart
index 1c24c75991626f251b9f8cc19b6497bf40ad1579..03be619d10b60b48c5dc42299bfd686287eadfe2 100644
--- a/tests/standalone/status_expression_test.dart
+++ b/tests/standalone/status_expression_test.dart
@@ -65,7 +65,8 @@ class StatusExpressionTest {
} on Exception catch (e) {
thrown = e;
}
- Expect.equals("Syntax error in '$input'", thrown.toString());
+ Expect.equals("FormatException: Syntax error in '$input'",
+ thrown.toString());
}
static void test4() {
@@ -78,7 +79,8 @@ class StatusExpressionTest {
} on Exception catch (e) {
thrown = e;
}
- Expect.equals("Syntax error in '$input'", thrown.toString());
+ Expect.equals("FormatException: Syntax error in '$input'",
+ thrown.toString());
}
static void test5() {
« no previous file with comments | « tests/standalone/io/test_runner_test.dart ('k') | tests/standalone/typed_data_view_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698