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

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

Issue 9582027: Some use of the new @static-clean and /// annotations in shared tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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/src/BadNamedParametersTest.dart ('k') | tests/language/src/Context2Test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/src/CallThroughGetterTest.dart
diff --git a/tests/language/src/CallThroughGetterTest.dart b/tests/language/src/CallThroughGetterTest.dart
index ef22f8d5e611d3ac6b63022447970d0330cbbcab..93d9cc4c7f4ad7b65683c175b8c61caea169ada2 100644
--- a/tests/language/src/CallThroughGetterTest.dart
+++ b/tests/language/src/CallThroughGetterTest.dart
@@ -28,8 +28,12 @@ class CallThroughGetterTest {
Expect.equals(1, TOP_LEVEL_CONST_REF);
Expect.equals(2, topLevel());
- expectThrowsNotClosure(() { TOP_LEVEL_CONST(); });
- expectThrowsNotClosure(() { (TOP_LEVEL_CONST)(); });
+ expectThrowsNotClosure(() {
+ TOP_LEVEL_CONST(); /// static type error
+ });
+ expectThrowsNotClosure(() {
+ (TOP_LEVEL_CONST)(); /// static type error
+ });
}
static void testField() {
« no previous file with comments | « tests/language/src/BadNamedParametersTest.dart ('k') | tests/language/src/Context2Test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698