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

Unified Diff: tests/language_strong/bad_named_parameters_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_strong/bad_named_parameters2_test.dart ('k') | tests/language_strong/bad_override_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language_strong/bad_named_parameters_test.dart
diff --git a/tests/language_strong/bad_named_parameters_test.dart b/tests/language_strong/bad_named_parameters_test.dart
index 8a24592840e9c72460c83333781c24903150eaa3..c82524ad952d8957b479ec944f0c5fec6140a9a5 100644
--- a/tests/language_strong/bad_named_parameters_test.dart
+++ b/tests/language_strong/bad_named_parameters_test.dart
@@ -5,13 +5,15 @@
import "package:expect/expect.dart";
+
class BadNamedParametersTest {
+
int f42(int a, {int b: 20, int c: 30}) {
- return 100 * (100 * a + b) + c;
+ return 100*(100*a + b) + c;
}
int f52(int a, {int b: 20, int c, int d: 40}) {
- return 100 * (100 * (100 * a + b) + (c == null ? 0 : c)) + d;
+ return 100*(100*(100*a + b) + (c == null ? 0 : c)) + d;
}
static testMain() {
« no previous file with comments | « tests/language_strong/bad_named_parameters2_test.dart ('k') | tests/language_strong/bad_override_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698