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:
parent
1b43144ad8
commit
7eeda3f14d
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||||
|
|
Loading…
Reference in a new issue