diff --git a/commands_test.go b/commands_test.go index 479e295dd8..6c6a8e975b 100644 --- a/commands_test.go +++ b/commands_test.go @@ -782,7 +782,7 @@ func TestImagesTree(t *testing.T) { "(?m)^ └─[0-9a-f]+", "(?m)^ └─[0-9a-f]+", "(?m)^ └─[0-9a-f]+", - fmt.Sprintf(" └─%s Size: \\d+.\\d+ kB \\(virtual \\d+.\\d+ MB\\) Tags: test:latest", utils.TruncateID(image.ID)), + fmt.Sprintf(" └─%s Size: \\d+ B \\(virtual \\d+.\\d+ MB\\) Tags: test:latest", utils.TruncateID(image.ID)), } compiledRegexps := []*regexp.Regexp{}