1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/registry/resumable
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
..
resumablerequestreader.go registry: use constants for http status codes 2019-10-13 19:11:18 +02:00
resumablerequestreader_test.go TestResumableRequestHeaderTooMuchFailures: prepare for Go 1.14 changes 2020-02-10 19:02:59 +01:00