Skip to content

Commit

Permalink
Mispel some words to keep the republic happy
Browse files Browse the repository at this point in the history
  • Loading branch information
strideynet committed Dec 11, 2024
1 parent 04c0db0 commit 3778ffb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/services/access_checker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -791,10 +791,10 @@ func TestAccessCheckerWorkloadIdentity(t *testing.T) {
Name: "no-labels",
},
}
fooLabelledWI := &workloadidentityv1pb.WorkloadIdentity{
fooLabeledWI := &workloadidentityv1pb.WorkloadIdentity{
Kind: types.KindWorkloadIdentity,
Metadata: &headerv1.Metadata{
Name: "foo-labelled",
Name: "foo-labeled",
Labels: map[string]string{
"foo": "bar",
},
Expand Down Expand Up @@ -843,23 +843,23 @@ func TestAccessCheckerWorkloadIdentity(t *testing.T) {
roleSet: NewRoleSet(
roleWildcard,
),
resource: fooLabelledWI,
resource: fooLabeledWI,
requireError: require.NoError,
},
{
name: "no labels role, labels wi",
roleSet: NewRoleSet(
roleNoLabels,
),
resource: fooLabelledWI,
resource: fooLabeledWI,
requireError: require.Error,
},
{
name: "labels role, labels wi",
roleSet: NewRoleSet(
roleFooLabel,
),
resource: fooLabelledWI,
resource: fooLabeledWI,
requireError: require.NoError,
},
}
Expand Down

0 comments on commit 3778ffb

Please sign in to comment.