From 65a5feab3c2e14eff2d92bceb72218de1fae73ed Mon Sep 17 00:00:00 2001 From: Lars Lehtonen Date: Sun, 18 Oct 2020 23:21:56 -0700 Subject: [PATCH] runtime: fix resource test (#2048) --- runtime/resource_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/resource_test.go b/runtime/resource_test.go index cf09b996..9ecbafc9 100644 --- a/runtime/resource_test.go +++ b/runtime/resource_test.go @@ -46,6 +46,7 @@ func TestResources(t *testing.T) { assert.Len(t, networkPolicy.AllowedLabels, 1) networkPolicy, err = NewNetworkPolicy("ingress", "test", map[string]string{"foo": "bar", "bar": "foo"}) + assert.NoError(t, err) assert.Len(t, networkPolicy.AllowedLabels, 2) // Service: