Skip to content

Commit dad2166

Browse files
jsorefarmfazh
authored andcommitted
spelling: title
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
1 parent 171c418 commit dad2166

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

abe/cpabe/tkn20/example_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func checkPolicy(in map[string][]string) bool {
5050

5151
func Example() {
5252
policyStr := `(occupation: doctor) and (country: US)`
53-
invalidPolicyStr := `(ocupation: doctor) and (country: pacific)`
53+
invalidPolicyStr := `(title: doctor) and (country: pacific)`
5454
msgStr := `must have the precious 🎃`
5555
wrongAttrsMap := map[string]string{"occupation": "doctor", "country": "croatia"}
5656
rightAttrsMap := map[string]string{"occupation": "doctor", "country": "US", "age": "16"}

0 commit comments

Comments
 (0)