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

Unified Diff: tests/language_strong/const_switch_test.dart

Issue 2774783002: Re-land "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_strong/const_switch2_test.dart ('k') | tests/language_strong/const_syntax_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
-}
+}
« no previous file with comments | « tests/language_strong/const_switch2_test.dart ('k') | tests/language_strong/const_syntax_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698