mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Clean up in TestNegotiateAPIVersionEmpty
Signed-off-by: John Stephens <johnstep@docker.com>
This commit is contained in:
parent
f11f249588
commit
b801361064
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ func TestNewEnvClientSetsDefaultVersion(t *testing.T) {
|
||||||
// TestNegotiateAPIVersionEmpty asserts that client.Client can
|
// TestNegotiateAPIVersionEmpty asserts that client.Client can
|
||||||
// negotiate a compatible APIVersion when omitted
|
// negotiate a compatible APIVersion when omitted
|
||||||
func TestNegotiateAPIVersionEmpty(t *testing.T) {
|
func TestNegotiateAPIVersionEmpty(t *testing.T) {
|
||||||
defer env.PatchAll(t, map[string]string{"DOCKER_API_VERSION": ""})
|
defer env.PatchAll(t, map[string]string{"DOCKER_API_VERSION": ""})()
|
||||||
|
|
||||||
client, err := NewEnvClient()
|
client, err := NewEnvClient()
|
||||||
assert.NilError(t, err)
|
assert.NilError(t, err)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue