Skip to content

Commit

Permalink
Fix copy&pasted field names in duplicate field tests
Browse files Browse the repository at this point in the history
Signed-off-by: Miloslav Trmač <[email protected]>
  • Loading branch information
mtrmac committed Dec 4, 2020
1 parent b6d3133 commit 507e3f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions signature/policy_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down Expand Up @@ -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)
}

0 comments on commit 507e3f1

Please sign in to comment.