From 3f676c1918226966db0bd776284f12fe71a2b957 Mon Sep 17 00:00:00 2001 From: Vincent Demeester Date: Mon, 17 Apr 2017 17:32:52 +0200 Subject: [PATCH] Fix formatter unit test (moving to testify) Signed-off-by: Vincent Demeester --- cli/command/formatter/history_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/command/formatter/history_test.go b/cli/command/formatter/history_test.go index 299fb1135b..ce80dc9b8b 100644 --- a/cli/command/formatter/history_test.go +++ b/cli/command/formatter/history_test.go @@ -10,7 +10,7 @@ import ( "github.com/docker/docker/api/types/image" "github.com/docker/docker/pkg/stringid" "github.com/docker/docker/pkg/stringutils" - "github.com/docker/docker/pkg/testutil/assert" + "github.com/stretchr/testify/assert" ) type historyCase struct { @@ -206,7 +206,7 @@ imageID4 24 hours ago /bin/bash grep for _, context := range contexts { HistoryWrite(context.context, true, histories) - assert.Equal(t, out.String(), context.expected) + assert.Equal(t, context.expected, out.String()) // Clean buffer out.Reset() }