From a718f6fdb899008290f5b21f7a0734558c818cc2 Mon Sep 17 00:00:00 2001 From: Daniel Smith Date: Fri, 20 Jun 2014 14:03:24 -0700 Subject: [PATCH] minor fixes to scheduler_test --- pkg/registry/scheduler_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/registry/scheduler_test.go b/pkg/registry/scheduler_test.go index 61edb4c3fc1..82da7b42685 100644 --- a/pkg/registry/scheduler_test.go +++ b/pkg/registry/scheduler_test.go @@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package registry import ( @@ -26,7 +27,7 @@ func expectSchedule(scheduler Scheduler, pod api.Pod, expected string, t *testin actual, err := scheduler.Schedule(pod) expectNoError(t, err) if actual != expected { - t.Errorf("Unexpected scheduling value: %d, expected %d", actual, expected) + t.Errorf("Unexpected scheduling value: %v, expected %v", actual, expected) } }