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

Unified Diff: tests/compiler/dart2js_native/native_field_rename_2_frog_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/native_field_rename_2_frog_test.dart
diff --git a/tests/compiler/dart2js_native/native_field_rename_2_frog_test.dart b/tests/compiler/dart2js_native/native_field_rename_2_frog_test.dart
index 8a85ab381efacccd1f0bd23beddd5c2483c95f40..cb093cb6ae199e414483e8aceeff4e99784be2cc 100644
--- a/tests/compiler/dart2js_native/native_field_rename_2_frog_test.dart
+++ b/tests/compiler/dart2js_native/native_field_rename_2_frog_test.dart
@@ -15,12 +15,12 @@ abstract class I {
@Native("A")
class A implements I {
- int key; // jsname is 'key'
+ int key; // jsname is 'key'
int getKey() => key;
}
class B implements I {
- int key; // jsname is not 'key'
+ int key; // jsname is not 'key'
B([this.key = 222]);
int getKey() => key;
}
@@ -28,15 +28,14 @@ class B implements I {
@Native("X")
class X {
@JSName('key')
- int native_key_method() native;
+ int native_key_method() native ;
// This should cause B.key to be renamed, but not A.key.
@JSName('key')
- int key() native;
+ int key() native ;
}
-A makeA() native;
-X makeX() native;
-
+A makeA() native ;
+X makeX() native ;
void setup() native """
// This code is all inside 'setup' and so not accesible from the global scope.

Powered by Google App Engine
This is Rietveld 408576698