mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix formatter unit test (moving to testify)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
1eec7b5583
commit
3f676c1918
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ import (
|
||||||
"github.com/docker/docker/api/types/image"
|
"github.com/docker/docker/api/types/image"
|
||||||
"github.com/docker/docker/pkg/stringid"
|
"github.com/docker/docker/pkg/stringid"
|
||||||
"github.com/docker/docker/pkg/stringutils"
|
"github.com/docker/docker/pkg/stringutils"
|
||||||
"github.com/docker/docker/pkg/testutil/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
)
|
)
|
||||||
|
|
||||||
type historyCase struct {
|
type historyCase struct {
|
||||||
|
@ -206,7 +206,7 @@ imageID4 24 hours ago /bin/bash grep
|
||||||
|
|
||||||
for _, context := range contexts {
|
for _, context := range contexts {
|
||||||
HistoryWrite(context.context, true, histories)
|
HistoryWrite(context.context, true, histories)
|
||||||
assert.Equal(t, out.String(), context.expected)
|
assert.Equal(t, context.expected, out.String())
|
||||||
// Clean buffer
|
// Clean buffer
|
||||||
out.Reset()
|
out.Reset()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue