From 349a823ea22adf294b64be71fd736cbbfb81dd01 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Sun, 21 Jun 2020 14:59:37 +0000 Subject: [PATCH] update test for Go 1.13 --- probe/cri/registry_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/probe/cri/registry_test.go b/probe/cri/registry_test.go index 2c91a1684..1bdfbcaf4 100644 --- a/probe/cri/registry_test.go +++ b/probe/cri/registry_test.go @@ -13,7 +13,7 @@ var nonUnixSocketsTest = []struct { }{ {"http://xyz.com", "protocol \"http\" not supported"}, {"tcp://var/unix.sock", "endpoint was not unix socket tcp"}, - {"http://[fe80::%31]/", "parse http://[fe80::%31]/: invalid URL escape \"%31\""}, + {"http://[fe80::%31]/", "parse \"http://[fe80::%31]/\": invalid URL escape \"%31\""}, } func TestParseNonUnixEndpointUrl(t *testing.T) {