1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Fix tests

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
This commit is contained in:
Derek McGowan 2014-12-22 18:58:01 -08:00
parent 1b43144ad8
commit 7eeda3f14d

View file

@ -30,7 +30,7 @@ func TestProgress(t *testing.T) {
} }
// this number can't be negetive gh#7136 // this number can't be negetive gh#7136
expected = "[==============================================================>] 50 B/40 B" expected = "[==================================================>] 50 B/40 B"
jp4 := JSONProgress{Current: 50, Total: 40} jp4 := JSONProgress{Current: 50, Total: 40}
if jp4.String() != expected { if jp4.String() != expected {
t.Fatalf("Expected %q, got %q", expected, jp4.String()) t.Fatalf("Expected %q, got %q", expected, jp4.String())