From 46967af90e81f044c86a64de72fd0dcd725ef13d Mon Sep 17 00:00:00 2001
From: "rnystrom@google.com" <rnystrom@google.com>
Date: Wed, 24 Sep 2014 22:14:51 +0000
Subject: [PATCH] Remove unused parameter.

This also fixes an analyzer warning since the param had the wrong type.

R=nweiz@google.com

Review URL: https://codereview.chromium.org//602983002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40653 260f80e4-7a28-3924-810f-c04153c831b5
---
 test/test_pub.dart | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/test_pub.dart b/test/test_pub.dart
index 05b05d84..bb3f6a21 100644
--- a/test/test_pub.dart
+++ b/test/test_pub.dart
@@ -412,11 +412,11 @@ void scheduleSymlink(String target, String symlink) {
 /// matching that object, which can be a literal JSON object or any other
 /// [Matcher].
 void schedulePub({List args, output, error, outputJson,
-    Future<Uri> tokenEndpoint, int exitCode: exit_codes.SUCCESS}) {
+    int exitCode: exit_codes.SUCCESS}) {
   // Cannot pass both output and outputJson.
   assert(output == null || outputJson == null);
 
-  var pub = startPub(args: args, tokenEndpoint: tokenEndpoint);
+  var pub = startPub(args: args);
   pub.shouldExit(exitCode);
 
   var failures = [];
-- 
GitLab