Skip to content

Commit 359b188

Browse files
committed
tests: fix mocked /info Docker API response
1 parent a1f1da5 commit 359b188

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/generator/generator_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func TestGenerateFromEvents(t *testing.T) {
3030
{"status":"stop","id":"8dfafdbc3a40","from":"base:latest","time":1374067966}
3131
{"status":"start","id":"8dfafdbc3a40","from":"base:latest","time":1374067970}
3232
{"status":"destroy","id":"8dfafdbc3a40","from":"base:latest","time":1374067990}`
33-
infoResponse := `{"Containers":1,"Images":1,"Debug":0,"NFd":11,"NGoroutines":21,"MemoryLimit":1,"SwapLimit":0}`
33+
infoResponse := `{"Containers":1,"Images":1,"Debug":false,"NFd":11,"NGoroutines":21,"MemoryLimit":true,"SwapLimit":false}`
3434
versionResponse := `{"Version":"1.8.0","Os":"Linux","KernelVersion":"3.18.5-tinycore64","GoVersion":"go1.4.1","GitCommit":"a8a31ef","Arch":"amd64","ApiVersion":"1.19"}`
3535

3636
server, _ := dockertest.NewServer("127.0.0.1:0", nil, nil)

0 commit comments

Comments
 (0)