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

Unified Diff: tests/compiler/dart2js_native/native_class_avoids_hidden_name_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_class_avoids_hidden_name_frog_test.dart
diff --git a/tests/compiler/dart2js_native/native_class_avoids_hidden_name_frog_test.dart b/tests/compiler/dart2js_native/native_class_avoids_hidden_name_frog_test.dart
index e78544af9021402ff3003a5f9852c8a99f29e9d4..8690e4b856605d04c7a158b4e22c72d49e67fdd0 100644
--- a/tests/compiler/dart2js_native/native_class_avoids_hidden_name_frog_test.dart
+++ b/tests/compiler/dart2js_native/native_class_avoids_hidden_name_frog_test.dart
@@ -19,13 +19,14 @@ class BB {
static BB create() => makeB();
}
-class CC { // Ordinary class with name clashing with native class.
+class CC {
+ // Ordinary class with name clashing with native class.
get name => 'CC';
static CC create() => new CC();
}
-makeA() native;
-makeB() native;
+makeA() native ;
+makeB() native ;
void setup1() native """
// Poison hidden native names 'BB' and 'CC' to prove the compiler didn't place

Powered by Google App Engine
This is Rietveld 408576698