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

Unified Diff: tests/language_strong/const_switch_test.dart

Issue 2768073002: 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
Index: tests/language_strong/const_switch_test.dart
diff --git a/tests/language_strong/const_switch_test.dart b/tests/language_strong/const_switch_test.dart
index 801288b5d4bcdddcda7718310dda929470eb5485..8e2890b2225a4e51a343348a6803611a6619f0c3 100644
--- a/tests/language_strong/const_switch_test.dart
+++ b/tests/language_strong/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,10 +23,14 @@ 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;
-}
+}

Powered by Google App Engine
This is Rietveld 408576698