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

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

Issue 9270016: Issue 932. Checks for various named arguments cases. (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/NamedParametersNegativeTest.dart
diff --git a/tests/language/src/NamedParametersNegativeTest.dart b/tests/language/src/NamedParametersNegativeTest.dart
index 0773b0236c7eff4bf4623bddfcf8f3c95a07687c..4df1a49206c44df61ab6b82c3d9015278a0bcbb2 100644
--- a/tests/language/src/NamedParametersNegativeTest.dart
+++ b/tests/language/src/NamedParametersNegativeTest.dart
@@ -11,12 +11,7 @@ class NamedParametersNegativeTest {
}
static testMain() {
- try {
- F31(b:25, c:35); // No positional argument passed.
- } catch (var e) {
- // This is a negative test that should not compile.
- // If it runs due to a bug, catch and ignore exceptions.
- }
+ F31(b:25, c:35); // No positional argument passed.
}
}

Powered by Google App Engine
This is Rietveld 408576698