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

Unified Diff: tests/corelib/apply_test.dart

Issue 17977002: - Remove arguments definition test from the VM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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/corelib/apply_test.dart
===================================================================
--- tests/corelib/apply_test.dart (revision 24474)
+++ tests/corelib/apply_test.dart (working copy)
@@ -16,9 +16,6 @@
int test2(int i, int j) => i + j;
int test2a(int i, int j, {int a}) => i + j + a;
-bool testPassed1([int x]) => ?x;
-bool testPassedX({int x}) => ?x;
-
class C {
int x = 10;
int foo(y) => this.x + y;
@@ -60,14 +57,6 @@
testList(42, test2, [20, 22]);
test(42, test2a, [10, 15], {"a" : 17});
- testList(false, testPassed1, null);
- testList(false, testPassed1, []);
- testList(true, testPassed1, [42]);
-
- testMap(false, testPassedX, null);
- testMap(false, testPassedX, {});
- testMap(true, testPassedX, {"x": 42});
-
// Test that "this" is correct when calling closurized functions.
var cfoo = new C().foo;
testList(42, cfoo, [32]);

Powered by Google App Engine
This is Rietveld 408576698