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

Unified Diff: tests/language/src/TryCatch3NegativeTest.dart

Issue 9162001: Updating crufty tests, remove invalid TryCatch8NegativeTest (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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
Index: tests/language/src/TryCatch3NegativeTest.dart
diff --git a/tests/language/src/TryCatch3NegativeTest.dart b/tests/language/src/TryCatch3NegativeTest.dart
index 9d5c0003de49a5a1a23fc3301dc47d5aa7a0907a..62447812ce739f294c8276f682390bde854e8355 100644
--- a/tests/language/src/TryCatch3NegativeTest.dart
+++ b/tests/language/src/TryCatch3NegativeTest.dart
@@ -10,13 +10,12 @@ interface TestException {
}
class MyException implements TestException {
- const MyException(String message = "") : message_ = message;
+ const MyException([String message = ""]) : message_ = message;
String getMessage() { return message_; }
final String message_;
}
class StackTrace {
- StackTrace() { }
}
class Helper {
@@ -44,12 +43,6 @@ class Helper {
}
}
-class TryCatch3NegativeTest {
- static testMain() {
- Expect.equals(1, Helper.f1(1));
- }
-}
-
main() {
- TryCatch3NegativeTest.testMain();
+ Expect.equals(1, Helper.f1(1));
}

Powered by Google App Engine
This is Rietveld 408576698