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

Unified Diff: tests/language/closure_type_test.dart

Issue 158733003: Fix language tests wrt. warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
Index: tests/language/closure_type_test.dart
diff --git a/tests/language/closure_type_test.dart b/tests/language/closure_type_test.dart
index 59d11de19e588c24d0588aabca4491e2987f329c..f3ec3de0638a90b758557d851ae79cd25fe4b81c 100644
--- a/tests/language/closure_type_test.dart
+++ b/tests/language/closure_type_test.dart
@@ -9,7 +9,9 @@ import "package:expect/expect.dart";
import 'dart:math' as math;
class Math {
- static int sqrt(x) => math.sqrt(x);
+ static
+ int /// 01: static type warning
+ sqrt(x) => math.sqrt(x);
}
isCheckedMode() {

Powered by Google App Engine
This is Rietveld 408576698