| Index: tests/language_strong/method_name_test.dart
|
| diff --git a/tests/language_strong/method_name_test.dart b/tests/language_strong/method_name_test.dart
|
| index b0199cf63d17ca140f5e113786c6e7ea990559d8..ca9c48ba69088a5bd3ac0957ad24346980496402 100644
|
| --- a/tests/language_strong/method_name_test.dart
|
| +++ b/tests/language_strong/method_name_test.dart
|
| @@ -9,16 +9,32 @@ import "package:expect/expect.dart";
|
|
|
| // With return type.
|
| class A {
|
| - int get() {return 1;}
|
| - int set() {return 2;}
|
| - int operator() {return 3;}
|
| + int get() {
|
| + return 1;
|
| + }
|
| +
|
| + int set() {
|
| + return 2;
|
| + }
|
| +
|
| + int operator() {
|
| + return 3;
|
| + }
|
| }
|
|
|
| // Without return types.
|
| class B {
|
| - get() {return 1;}
|
| - set() {return 2;}
|
| - operator() {return 3;}
|
| + get() {
|
| + return 1;
|
| + }
|
| +
|
| + set() {
|
| + return 2;
|
| + }
|
| +
|
| + operator() {
|
| + return 3;
|
| + }
|
| }
|
|
|
| main() {
|
|
|