| Index: tests/language_strong/call_function2_test.dart
|
| diff --git a/tests/language_strong/call_function2_test.dart b/tests/language_strong/call_function2_test.dart
|
| index f9a610d62e159772688f70c4a22a1803c8edf92a..6490ebd599395466b72d60724dfbde19f3f9e3bc 100644
|
| --- a/tests/language_strong/call_function2_test.dart
|
| +++ b/tests/language_strong/call_function2_test.dart
|
| @@ -16,10 +16,7 @@ class Bar {
|
|
|
| Object baz(Object x) => x;
|
|
|
| -var map = <String, Func>{
|
| - 'baz': baz,
|
| - 'bar': new Bar()
|
| -};
|
| +var map = <String, Func>{'baz': baz, 'bar': new Bar()};
|
|
|
| Object test(String str, Object arg) {
|
| return map[str].call(arg);
|
| @@ -28,4 +25,4 @@ Object test(String str, Object arg) {
|
| void main() {
|
| Expect.equals(42, test('baz', 42));
|
| Expect.equals('Bar 42', test('bar', 42));
|
| -}
|
| +}
|
|
|