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

Unified Diff: tests/compiler/dart2js_native/subclassing_super_field_2_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/subclassing_super_field_2_test.dart
diff --git a/tests/compiler/dart2js_native/subclassing_super_field_2_test.dart b/tests/compiler/dart2js_native/subclassing_super_field_2_test.dart
index f325a7272465c8ede8a12f90ae777bd1385a3c22..4778ed1e9922166b07cd499ecb5f34636aaaa1bf 100644
--- a/tests/compiler/dart2js_native/subclassing_super_field_2_test.dart
+++ b/tests/compiler/dart2js_native/subclassing_super_field_2_test.dart
@@ -5,8 +5,8 @@
import "package:expect/expect.dart";
import 'dart:_foreign_helper' show JS;
import 'dart:_js_helper' show Native, Creates, setNativeSubclassDispatchRecord;
-import 'dart:_interceptors' show
- findInterceptorForType, findConstructorForNativeSubclassType;
+import 'dart:_interceptors'
+ show findInterceptorForType, findConstructorForNativeSubclassType;
// Test for fields with same name as native fields. We expect N.foo to have the
// property name 'foo' and A.foo and B.foo to have non-conflicting names.
@@ -20,10 +20,10 @@ class N {
class A extends N {
var foo = 222;
A.init() : super.init();
- Nfoo() => super.foo; // TODO(sra): Fix compiler assert.
+ Nfoo() => super.foo; // TODO(sra): Fix compiler assert.
}
-class B extends A {
+class B extends A {
var foo = 333;
B.init() : super.init();
Afoo() => super.foo;
@@ -32,10 +32,10 @@ class B extends A {
toString() => '[N.foo = ${Nfoo()}, A.foo = ${Afoo()}, B.foo = ${Bfoo()}]';
}
-B makeB() native;
+B makeB() native ;
@Creates('=Object')
-getBPrototype() native;
+getBPrototype() native ;
void setup() native r"""
function B() { this.foo = 111; } // N.foo

Powered by Google App Engine
This is Rietveld 408576698