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

Unified Diff: tests/language/static_getter_no_setter3_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
« no previous file with comments | « tests/language/static_getter_no_setter2_test.dart ('k') | tests/language/static_parameter_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/static_getter_no_setter3_test.dart
diff --git a/tests/language/static_getter_no_setter3_test.dart b/tests/language/static_getter_no_setter3_test.dart
index eecd792ab9f9b1d0d6196ad83bde3b87da403d06..450cb61573e2212bdd7f8553f7f79024f911d1b8 100644
--- a/tests/language/static_getter_no_setter3_test.dart
+++ b/tests/language/static_getter_no_setter3_test.dart
@@ -7,14 +7,14 @@ import 'package:expect/expect.dart';
bool getter_visited = false;
class Class {
- static final int getter = () {
+ static final int getter = (){
getter_visited = true;
}();
method() {
try {
getter++; //# 01: static type warning
- } on NoSuchMethodError catch (e) {
+ } on NoSuchMethodError catch(e) {
Expect.isTrue(getter_visited); //# 01: continued
return;
}
@@ -24,4 +24,4 @@ class Class {
main() {
new Class().method();
-}
+}
« no previous file with comments | « tests/language/static_getter_no_setter2_test.dart ('k') | tests/language/static_parameter_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698