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

Unified Diff: tests/compiler/dart2js_native/native_library_same_name_used_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_library_same_name_used_frog_test.dart
diff --git a/tests/compiler/dart2js_native/native_library_same_name_used_frog_test.dart b/tests/compiler/dart2js_native/native_library_same_name_used_frog_test.dart
index 1279da2656304d2ef4a7c5dc28d470f8e4960240..9f305f7692108acaebdf23bb3f8d432c9769aeb1 100644
--- a/tests/compiler/dart2js_native/native_library_same_name_used_frog_test.dart
+++ b/tests/compiler/dart2js_native/native_library_same_name_used_frog_test.dart
@@ -5,6 +5,7 @@
// Test for correct hidden native class when abstract class has same name.
library main;
+
import "package:expect/expect.dart";
import 'native_library_same_name_used_lib1.dart';
@@ -20,8 +21,13 @@ void setup() native """
class ProxyI implements I {
ProxyI b;
- ProxyI read() { return b; }
- write(ProxyI x) { b = x; }
+ ProxyI read() {
+ return b;
+ }
+
+ write(ProxyI x) {
+ b = x;
+ }
}
main() {
@@ -33,12 +39,12 @@ main() {
var b2 = new ProxyI();
var ob = new Object();
- Expect.isFalse(ob is I, 'ob is I');
+ Expect.isFalse(ob is I, 'ob is I');
Expect.isFalse(ob is ProxyI, 'ob is ProxyI');
- Expect.isTrue(b1 is I, 'b1 is I');
- Expect.isTrue(b1 is ProxyI, 'b1 is ProxyI');
+ Expect.isTrue(b1 is I, 'b1 is I');
+ Expect.isTrue(b1 is ProxyI, 'b1 is ProxyI');
- Expect.isTrue(a1 is I, 'a1 is I');
+ Expect.isTrue(a1 is I, 'a1 is I');
Expect.isFalse(a1 is ProxyI, 'a1 is ProxyI');
}

Powered by Google App Engine
This is Rietveld 408576698