p2p/enode: fix test on Travis, too

This commit is contained in:
Felix Lange 2019-08-22 13:53:28 +02:00
parent 86185a4f9a
commit c68327b524

View file

@ -62,7 +62,7 @@ var parseNodeTests = []struct {
// Complete node URLs with IP address and ports
{
input: "enode://1dd9d65c4552b5eb43d5ad55a2ee3f56c6cbc1c64a5c8d659f51fcd51bace24351232b8d7821617d2b29b54b81cdefb9b3e9c37d7fd5f63270bcc9e1a6f6a439@invalid.:3",
wantError: `lookup invalid.: no such host`,
wantError: `no such host`,
},
{
input: "enode://1dd9d65c4552b5eb43d5ad55a2ee3f56c6cbc1c64a5c8d659f51fcd51bace24351232b8d7821617d2b29b54b81cdefb9b3e9c37d7fd5f63270bcc9e1a6f6a439@127.0.0.1:foo",