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

Unified Diff: tests/language_strong/invocation_mirror_invoke_on_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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/invocation_mirror_invoke_on_test.dart
diff --git a/tests/language_strong/invocation_mirror_invoke_on_test.dart b/tests/language_strong/invocation_mirror_invoke_on_test.dart
index fd6722a1e8d7acd4c075bf0184df11bbacea9706..d064461ef147dcdcd516d969e27f4cff1b38f42d 100644
--- a/tests/language_strong/invocation_mirror_invoke_on_test.dart
+++ b/tests/language_strong/invocation_mirror_invoke_on_test.dart
@@ -12,7 +12,6 @@ var reachedGetX = 0;
var reachedM = 0;
class A {
-
set x(val) {
reachedSetX = val;
}
@@ -21,7 +20,9 @@ class A {
reachedGetX = 1;
}
- m() { reachedM = 1; }
+ m() {
+ reachedM = 1;
+ }
}
class B {
@@ -29,7 +30,7 @@ class B {
noSuchMethod(mirror) => reflect(a).delegate(mirror);
}
-main () {
+main() {
var b = new B();
b.x = 10;
Expect.equals(10, reachedSetX);

Powered by Google App Engine
This is Rietveld 408576698