Index: tests/language_strong/top_level_getter_no_setter2_test.dart |
diff --git a/tests/language_strong/top_level_getter_no_setter2_test.dart b/tests/language_strong/top_level_getter_no_setter2_test.dart |
index 0bc1406a2432a67c88e3eb22d606dd74b062e5ec..ad8375271dce240683ef97302d07aa79adff55d9 100644 |
--- a/tests/language_strong/top_level_getter_no_setter2_test.dart |
+++ b/tests/language_strong/top_level_getter_no_setter2_test.dart |
@@ -6,16 +6,15 @@ import 'package:expect/expect.dart'; |
bool getter_visited = false; |
-final int getter = (){ |
+final int getter = () { |
getter_visited = true; |
}(); |
class Class { |
- |
method() { |
try { |
getter++; //# 01: static type warning |
- } on NoSuchMethodError catch(e) { |
+ } on NoSuchMethodError catch (e) { |
Expect.isTrue(getter_visited); //# 01: continued |
return; |
} |
@@ -25,4 +24,4 @@ class Class { |
main() { |
new Class().method(); |
-} |
+} |