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

Unified Diff: tests/language/const_switch_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/const_switch2_test.dart ('k') | tests/language/const_syntax_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
-}
+}
« no previous file with comments | « tests/language/const_switch2_test.dart ('k') | tests/language/const_syntax_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698