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

Unified Diff: tests/compiler/dart2js_native/native_call_arity1_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_call_arity1_frog_test.dart
diff --git a/tests/compiler/dart2js_native/native_call_arity1_frog_test.dart b/tests/compiler/dart2js_native/native_call_arity1_frog_test.dart
index 624ffb5d8f9ac738d96f016cd5c98389bf10e58a..ed3d13153ac0513c5f2be3b65610a60035f9b308 100644
--- a/tests/compiler/dart2js_native/native_call_arity1_frog_test.dart
+++ b/tests/compiler/dart2js_native/native_call_arity1_frog_test.dart
@@ -15,19 +15,19 @@ import "package:expect/expect.dart";
@Native("A")
class A {
- int foo(int x) native;
+ int foo(int x) native ;
}
@Native("B")
class B {
- int foo([x, y, z]) native;
+ int foo([x, y, z]) native ;
}
// TODO(sra): Add a case where the parameters have default values. Wait until
// dart:html need non-null default values.
-A makeA() native;
-B makeB() native;
+A makeA() native ;
+B makeB() native ;
void setup() native """
function A() {}
@@ -40,7 +40,6 @@ makeA = function(){return new A;};
makeB = function(){return new B;};
""";
-
testDynamicContext() {
var things = [makeA(), makeB()];
var a = things[0];
« no previous file with comments | « tests/compiler/dart2js_native/jsobject_test.dart ('k') | tests/compiler/dart2js_native/native_call_arity2_frog_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698