Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -342,7 +342,7 @@ func TestNegotiateAPIVersion(t *testing.T) {
|
| 342 | 342 |
|
| 343 | 343 |
// TestNegotiateAPIVersionOverride asserts that we honor the DOCKER_API_VERSION |
| 344 | 344 |
// environment variable when negotiating versions. |
| 345 |
-func TestNegotiateAPVersionOverride(t *testing.T) {
|
|
| 345 |
+func TestNegotiateAPIVersionOverride(t *testing.T) {
|
|
| 346 | 346 |
const expected = "9.99" |
| 347 | 347 |
t.Setenv("DOCKER_API_VERSION", expected)
|
| 348 | 348 |
|
| ... | ... |
@@ -354,9 +354,9 @@ func TestNegotiateAPVersionOverride(t *testing.T) {
|
| 354 | 354 |
assert.Equal(t, client.ClientVersion(), expected) |
| 355 | 355 |
} |
| 356 | 356 |
|
| 357 |
-// TestNegotiateAPVersionConnectionFailure asserts that we do not modify the |
|
| 357 |
+// TestNegotiateAPIVersionConnectionFailure asserts that we do not modify the |
|
| 358 | 358 |
// API version when failing to connect. |
| 359 |
-func TestNegotiateAPVersionConnectionFailure(t *testing.T) {
|
|
| 359 |
+func TestNegotiateAPIVersionConnectionFailure(t *testing.T) {
|
|
| 360 | 360 |
const expected = "9.99" |
| 361 | 361 |
|
| 362 | 362 |
client, err := NewClientWithOpts(WithHost("tcp://no-such-host.invalid"))
|