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

Unified Diff: tests/compiler/dart2js_native/native_call_arity2_frog_test.dart

Issue 11227038: Fix and reenable dart2js extra tests and dart2js native tests. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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_arity2_frog_test.dart
===================================================================
--- tests/compiler/dart2js_native/native_call_arity2_frog_test.dart (revision 13907)
+++ tests/compiler/dart2js_native/native_call_arity2_frog_test.dart (working copy)
@@ -49,8 +49,8 @@
Expect.equals(2, a.foo(10, 20));
Expect.throws(() => a.foo(10, 20, 30));
- Expect.equals(1, a.foo(x: 10)); // 1 = x
- Expect.equals(2, a.foo(y: 20)); // 2 = x, y
+ Expect.equals(1, a.foo(10));
+ Expect.equals(2, a.foo(null, 20));
Expect.throws(() => a.foo(10, 20, 30));
Expect.equals(0, b.foo());
@@ -58,8 +58,8 @@
Expect.equals(2, b.foo(10, 20));
Expect.throws(() => b.foo(10, 20, 30));
- Expect.equals(1, b.foo(x: 10)); // 1 = x
- Expect.equals(2, b.foo(y: 20)); // 2 = x, y
+ Expect.equals(1, b.foo(10));
+ Expect.equals(2, b.foo(null, 20));
Expect.throws(() => b.foo(10, 20, 30));
}
@@ -72,8 +72,8 @@
Expect.equals(2, a.foo(10, 20));
Expect.throws(() => a.foo(10, 20, 30));
- Expect.equals(1, a.foo(x: 10)); // 1 = x
- Expect.equals(2, a.foo(y: 20)); // 2 = x, y
+ Expect.equals(1, a.foo(10));
+ Expect.equals(2, a.foo(null, 20));
Expect.throws(() => a.foo(10, 20, 30));
Expect.equals(0, b.foo());
@@ -81,8 +81,8 @@
Expect.equals(2, b.foo(10, 20));
Expect.throws(() => b.foo(10, 20, 30));
- Expect.equals(1, b.foo(x: 10)); // 1 = x
- Expect.equals(2, b.foo(y: 20)); // 2 = x, y
+ Expect.equals(1, b.foo(10));
+ Expect.equals(2, b.foo(null, 20));
Expect.throws(() => b.foo(10, 20, 30));
}

Powered by Google App Engine
This is Rietveld 408576698