Fix tests
Signed-off-by: Derek McGowan <derek@mcgstyle.net> Upstream-commit: 7eeda3f14de744b98b1c5aca4f2ecce87a479baa Component: engine
This commit is contained in:
@@ -30,7 +30,7 @@ func TestProgress(t *testing.T) {
|
||||
}
|
||||
|
||||
// this number can't be negetive gh#7136
|
||||
expected = "[==============================================================>] 50 B/40 B"
|
||||
expected = "[==================================================>] 50 B/40 B"
|
||||
jp4 := JSONProgress{Current: 50, Total: 40}
|
||||
if jp4.String() != expected {
|
||||
t.Fatalf("Expected %q, got %q", expected, jp4.String())
|
||||
|
||||
Reference in New Issue
Block a user