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

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

Issue 9664065: Base test case of a multi-test now insists no static type warnings (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reverted SyntaxTest Created 8 years, 9 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/WrongNumberTypeArgumentsTest.dart
diff --git a/tests/language/src/WrongNumberTypeArgumentsTest.dart b/tests/language/src/WrongNumberTypeArgumentsTest.dart
index 8eab8560f3565e5dbeb2da0db27a42e8d605532f..efb209962d78467cb4711b76fd6f9aa6aa10ff23 100644
--- a/tests/language/src/WrongNumberTypeArgumentsTest.dart
+++ b/tests/language/src/WrongNumberTypeArgumentsTest.dart
@@ -2,9 +2,10 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-Map<String> foo; // Static type warning: Map takes 2 type arguments.
+// Map takes 2 type arguments.
+Map<String> foo; /// 00: static type warning
main() {
- foo = null; /// 00: static type warning
+ foo = null; /// 00: continued
var bar = new Map<String>(); /// 01: compile-time error
}

Powered by Google App Engine
This is Rietveld 408576698