moby--moby/registry
Sebastiaan van Stijn 6acfc42094
TestResumableRequestHeaderTooMuchFailures: prepare for Go 1.14 changes
Go 1.14 adds quotes around the invalid scheme in the error returned in
golang/go@64cfe9f

Go 1.13:

    Get I%27m%20not%20an%20url: unsupported protocol scheme ""

Go 1.14:

    Get "I%27m%20not%20an%20url": unsupported protocol scheme ""

This patch updates the test to detect both versions of the error

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-02-10 19:02:59 +01:00
..
resumable TestResumableRequestHeaderTooMuchFailures: prepare for Go 1.14 changes 2020-02-10 19:02:59 +01:00
auth.go registry: use constants for http methods 2019-10-13 17:30:25 +02:00
auth_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
config.go Remove v1 manifest code 2019-06-18 01:40:25 +00:00
config_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
config_unix.go Add canonical import comment 2018-02-05 16:51:57 -05:00
config_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
endpoint_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
endpoint_v1.go registry: use constants for http methods 2019-10-13 17:30:25 +02:00
errors.go Add canonical import comment 2018-02-05 16:51:57 -05:00
registry.go registry: fix goimports 2020-01-06 16:01:02 +01:00
registry_mock_test.go registry: normalize comment formatting 2019-11-27 15:45:23 +01:00
registry_test.go registry: use constants for http methods 2019-10-13 17:30:25 +02:00
service.go Remove v1 manifest code 2019-06-18 01:40:25 +00:00
service_v2.go Format code with gofmt -s from go-1.11beta1 2018-09-06 15:24:16 -07:00
session.go registry: add a critical section to protect authTransport.modReq 2019-10-27 20:00:04 -04:00
types.go Add canonical import comment 2018-02-05 16:51:57 -05:00