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

Unified Diff: tests/compiler/dart2js_native/native_call_arity3_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_arity3_frog_test.dart
diff --git a/tests/compiler/dart2js_native/native_call_arity3_frog_test.dart b/tests/compiler/dart2js_native/native_call_arity3_frog_test.dart
index 0adb955c526e716dca89cedd45e80c66e531054d..1b4048ec6c0fb1808a637e7b479b1b9884437ce3 100644
--- a/tests/compiler/dart2js_native/native_call_arity3_frog_test.dart
+++ b/tests/compiler/dart2js_native/native_call_arity3_frog_test.dart
@@ -11,19 +11,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 = null, y, z = null]) native;
+ int foo([x = null, y, z = null]) 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() {}
@@ -36,7 +36,6 @@ makeA = function(){return new A;};
makeB = function(){return new B;};
""";
-
testDynamicContext() {
var things = [makeA(), makeB()];
var a = things[0];

Powered by Google App Engine
This is Rietveld 408576698