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

Unified Diff: tests/compiler/dart2js_native/native_field_invocation_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_invocation_test.dart
diff --git a/tests/compiler/dart2js_native/native_field_invocation_test.dart b/tests/compiler/dart2js_native/native_field_invocation_test.dart
index 54eaf50c90b39e030073a1758079b93d848e13e3..df6b9ab5365f28db3600493736cdf3fe2e74d05a 100644
--- a/tests/compiler/dart2js_native/native_field_invocation_test.dart
+++ b/tests/compiler/dart2js_native/native_field_invocation_test.dart
@@ -14,7 +14,7 @@ class B {
var foo;
}
-nativeId(x) native;
+nativeId(x) native ;
void setup() native """
nativeId = function(x) { return x; }
@@ -24,7 +24,7 @@ main() {
setup();
var b = new B();
b.foo = (x) => x + 1;
- b = nativeId(b); // Inferrer doesn't know if A has been instantiated.
+ b = nativeId(b); // Inferrer doesn't know if A has been instantiated.
// At this point b could be A or B. The call to "foo" thus needs to go through
// an interceptor. Tests that the interceptor doesn't screw with retrieving
// the field and invoking the closure.

Powered by Google App Engine
This is Rietveld 408576698