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

Unified Diff: tests/compiler/dart2js_native/super_property_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_native/super_property_test.dart
diff --git a/tests/compiler/dart2js_native/super_property_test.dart b/tests/compiler/dart2js_native/super_property_test.dart
index b2c89ea6133558e7918a429117fd954103315ea6..fbe98f79eb48c1d3ec5f23f1868a1939f36e82c0 100644
--- a/tests/compiler/dart2js_native/super_property_test.dart
+++ b/tests/compiler/dart2js_native/super_property_test.dart
@@ -20,6 +20,7 @@ class B extends A {
set foo(value) {
super.foo = value;
}
+
get foo => super.foo;
}
@@ -33,11 +34,12 @@ class D extends C {
set foo(value) {
super.foo = value;
}
+
get foo => super.foo;
}
-makeA() native;
-makeB() native;
+makeA() native ;
+makeB() native ;
void setup() native """
// This code is all inside 'setup' and so not accesible from the global scope.
@@ -49,12 +51,12 @@ makeB = function(){return new B};
testThing(a) {
a.foo = 123;
- Expect.equals(123, a.foo);
- Expect.equals(123, a.get_foo());
+ Expect.equals(123, a.foo);
+ Expect.equals(123, a.get_foo());
a.bar = 234;
- Expect.equals(234, a.foo);
- Expect.equals(234, a.get_foo());
+ Expect.equals(234, a.foo);
+ Expect.equals(234, a.get_foo());
}
main() {

Powered by Google App Engine
This is Rietveld 408576698