From 507e3f113ebbc6f18947063af5f70b583c2c6b5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= Date: Mon, 17 Aug 2020 15:19:01 +0200 Subject: [PATCH] Fix copy&pasted field names in duplicate field tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miloslav Trmač --- signature/policy_config_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/signature/policy_config_test.go b/signature/policy_config_test.go index 713553a332..93c72ada48 100644 --- a/signature/policy_config_test.go +++ b/signature/policy_config_test.go @@ -1104,7 +1104,7 @@ func TestPRMExactReferenceUnmarshalJSON(t *testing.T) { // Invalid "dockerReference" field func(v mSI) { v["dockerReference"] = 1 }, }, - duplicateFields: []string{"type", "baseLayerIdentity"}, + duplicateFields: []string{"type", "dockerReference"}, }.run(t) } @@ -1160,6 +1160,6 @@ func TestPRMExactRepositoryUnmarshalJSON(t *testing.T) { // Invalid "dockerRepository" field func(v mSI) { v["dockerRepository"] = 1 }, }, - duplicateFields: []string{"type", "baseLayerIdentity"}, + duplicateFields: []string{"type", "dockerRepository"}, }.run(t) }