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

Unified Diff: tests/language_strong/assign_static_type_test.dart

Issue 2774783002: Re-land "Format all multitests" (Closed)
Patch Set: Created 3 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_strong/assign_static_type_test.dart
diff --git a/tests/language_strong/assign_static_type_test.dart b/tests/language_strong/assign_static_type_test.dart
index 4f14c1ae87ad5fb287e5dadd1cc62af77fe25832..90b653d0a878c55676a89cb6156fb8e86c335c10 100644
--- a/tests/language_strong/assign_static_type_test.dart
+++ b/tests/language_strong/assign_static_type_test.dart
@@ -11,12 +11,13 @@ class A {
static const int c = "String"; //# 02: static type warning, checked mode compile-time error
final int d = "String"; //# 03: static type warning, dynamic type error
int e = "String"; //# 04: static type warning, dynamic type error
- A() {
+ A() {
int f = "String"; //# 05: static type warning, dynamic type error
- }
- method([
+ }
+ method(
+ [
int // //# 06: static type warning
- g = "String"]) {
+ g = "String"]) {
return g;
}
}
« no previous file with comments | « tests/language_strong/argument_definition_test.dart ('k') | tests/language_strong/assign_top_method_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698