We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5ab12e6 + 045ac0b commit 0395cdbCopy full SHA for 0395cdb
internal/jsonstream/display_test.go
@@ -31,10 +31,8 @@ func TestDisplay(t *testing.T) {
31
return
32
default:
33
err := enc.Encode(JSONMessage{
34
- Status: "Downloading",
35
- ID: fmt.Sprintf("id-%d", i),
36
- TimeNano: time.Now().UnixNano(),
37
- Time: time.Now().Unix(),
+ Status: "Downloading",
+ ID: fmt.Sprintf("id-%d", i),
38
Progress: &JSONProgress{
39
Progress: jsonstream.Progress{
40
Current: int64(i),
0 commit comments