1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Use setjson hack again for version

Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
This commit is contained in:
Michael Crosby 2014-04-04 11:35:07 -07:00
parent 95e6fd819b
commit 4c6cf9e27f

View file

@ -70,7 +70,7 @@ func TestGetVersion(t *testing.T) {
eng.Register("version", func(job *engine.Job) engine.Status { eng.Register("version", func(job *engine.Job) engine.Status {
called = true called = true
v := &engine.Env{} v := &engine.Env{}
v.Set("Version", "42.1") v.SetJson("Version", "42.1")
v.Set("ApiVersion", "1.1.1.1.1") v.Set("ApiVersion", "1.1.1.1.1")
v.Set("GoVersion", "2.42") v.Set("GoVersion", "2.42")
v.Set("Os", "Linux") v.Set("Os", "Linux")