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

Unified Diff: tests/compiler/dart2js_extra/mirrors_declarations_filtering_test.dart

Issue 2345083003: dart2js: run dartfmt on tests (Closed)
Patch Set: revert another multipart test Created 4 years, 3 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/compiler/dart2js_extra/mirrors_declarations_filtering_test.dart
diff --git a/tests/compiler/dart2js_extra/mirrors_declarations_filtering_test.dart b/tests/compiler/dart2js_extra/mirrors_declarations_filtering_test.dart
index e77ec3b927704d0105d56987f4ab93c11317a0ae..08ec7a208c2a8fdddf2f2d6d1aa4ab19e4f42138 100644
--- a/tests/compiler/dart2js_extra/mirrors_declarations_filtering_test.dart
+++ b/tests/compiler/dart2js_extra/mirrors_declarations_filtering_test.dart
@@ -1,4 +1,3 @@
-
// Copyright (c) 2015, 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.
@@ -16,7 +15,7 @@ class Meta {
}
class A {
- @Meta()
+ @Meta()
reflectableThing(int a, [int b = 9, int c = 42]) => a + b + c;
nonReflectableThing(int a, [int b = 4, int c = 21]) => a + b + c;
}
@@ -27,7 +26,8 @@ tryCall(object, symbol, values, expected) {
Expect.equals(result, expected);
}
-@NoInline() @AssumeDynamic()
+@NoInline()
+@AssumeDynamic()
hide(x) => x;
main() {
@@ -44,7 +44,7 @@ main() {
Expect.throws(() => tryCall(a, #nonReflectableThing, [1], 1 + 4 + 21));
Expect.throws(() => tryCall(a, #nonReflectableThing, [1, 5], 1 + 5 + 21));
Expect.throws(() => tryCall(a, #nonReflectableThing, [1, 13, 7], 1 + 13 + 7));
- // Trigger generation of all declarations and check they only contain a
+ // Trigger generation of all declarations and check they only contain a
// a single entry.
var declarations = reflect(a).type.declarations;
Expect.equals(1, declarations.keys.length);
« no previous file with comments | « tests/compiler/dart2js_extra/mirror_printer_test.dart ('k') | tests/compiler/dart2js_extra/mirrors_used_closure_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698