Fix tests

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
Upstream-commit: 7eeda3f14de744b98b1c5aca4f2ecce87a479baa
Component: engine
This commit is contained in:
Derek McGowan
2015-01-15 14:05:05 -08:00
parent 56c1f6c9e6
commit 2a0f9941dc
+1 -1
View File
@@ -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())