| Index: tests/language/const_switch_test.dart
|
| diff --git a/tests/language/const_switch_test.dart b/tests/language/const_switch_test.dart
|
| index 8e2890b2225a4e51a343348a6803611a6619f0c3..801288b5d4bcdddcda7718310dda929470eb5485 100644
|
| --- a/tests/language/const_switch_test.dart
|
| +++ b/tests/language/const_switch_test.dart
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
|
| + // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| @@ -23,14 +23,10 @@ main() {
|
|
|
| String test(C c) {
|
| switch (c) {
|
| - case const C(0.0):
|
| - return '0.0';
|
| - case const C(0):
|
| - return '0';
|
| - case const C(1.0):
|
| - return '1.0';
|
| - case const C(1):
|
| - return '1';
|
| + case const C(0.0): return '0.0';
|
| + case const C(0): return '0';
|
| + case const C(1.0): return '1.0';
|
| + case const C(1): return '1';
|
| }
|
| return null;
|
| -}
|
| +}
|
|
|