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

Unified Diff: tests/compiler/dart2js_native/native_call_arity3_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
« no previous file with comments | « tests/compiler/dart2js_native/native_call_arity2_frog_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js_native/native_call_arity3_frog_test.dart
===================================================================
--- tests/compiler/dart2js_native/native_call_arity3_frog_test.dart (revision 13907)
+++ tests/compiler/dart2js_native/native_call_arity3_frog_test.dart (working copy)
@@ -47,9 +47,9 @@
Expect.equals(2, b.foo(10, 20));
Expect.equals(3, 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(3, b.foo(z: 30)); // 3 = x, y, z
+ Expect.equals(1, b.foo(10));
+ Expect.equals(2, b.foo(null, 20));
+ Expect.equals(3, b.foo(null, null, 30));
Expect.throws(() => b.foo(10, 20, 30, 40));
}
@@ -67,9 +67,9 @@
Expect.equals(2, b.foo(10, 20));
Expect.equals(3, b.foo(10, 20, 30));
- Expect.equals(1, b.foo(x: 10));
- Expect.equals(2, b.foo(y: 20));
- Expect.equals(3, b.foo(z: 30));
+ Expect.equals(1, b.foo(10));
+ Expect.equals(2, b.foo(null, 20));
+ Expect.equals(3, b.foo(null, null, 30));
Expect.throws(() => b.foo(10, 20, 30, 40));
}
« no previous file with comments | « tests/compiler/dart2js_native/native_call_arity2_frog_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698