p2p/discv5: fix test on go 1.14 (#20724)

This commit is contained in:
Felix Lange 2020-02-27 13:10:28 +01:00 committed by GitHub
parent f1a7997af3
commit 1e1b18637e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,7 +141,7 @@ var parseNodeTests = []struct {
{
// This test checks that errors from url.Parse are handled.
rawurl: "://foo",
wantError: `parse ://foo: missing protocol scheme`,
wantError: `missing protocol scheme`,
},
}