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

Unified Diff: tests/language_strong/assign_static_type_test.dart

Issue 2770063002: Revert "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 90b653d0a878c55676a89cb6156fb8e86c335c10..4f14c1ae87ad5fb287e5dadd1cc62af77fe25832 100644
--- a/tests/language_strong/assign_static_type_test.dart
+++ b/tests/language_strong/assign_static_type_test.dart
@@ -11,13 +11,12 @@ 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