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

Unified Diff: tests/compiler/dart2js_extra/variable_type_test.dart

Issue 2345083003: dart2js: run dartfmt on tests (Closed)
Patch Set: Created 4 years, 3 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/compiler/dart2js_extra/variable_type_test.dart
diff --git a/tests/compiler/dart2js_extra/variable_type_test.dart b/tests/compiler/dart2js_extra/variable_type_test.dart
index 58454fce032da65faa057569326c18a0c8f14b00..7173005de765acda76d155db08f0dff00da8bedf 100644
--- a/tests/compiler/dart2js_extra/variable_type_test.dart
+++ b/tests/compiler/dart2js_extra/variable_type_test.dart
@@ -3,11 +3,17 @@
// BSD-style license that can be found in the LICENSE file.
int foo(int i) {
- i = 'fisk'; /// 01: static type warning
- return 'kat'; /// 02: static type warning, dynamic type error
+ i = 'fisk';
+
+ /// 01: static type warning
Siggi Cherem (dart-lang) 2016/09/16 20:55:24 revert as well
Harry Terkelsen 2016/09/16 21:44:04 Done.
+ return 'kat';
+
+ /// 02: static type warning, dynamic type error
}
main() {
foo(42);
- foo('hest'); /// 03: static type warning
+ foo('hest');
+
+ /// 03: static type warning
}

Powered by Google App Engine
This is Rietveld 408576698