We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 171c418 commit dad2166Copy full SHA for dad2166
abe/cpabe/tkn20/example_test.go
@@ -50,7 +50,7 @@ func checkPolicy(in map[string][]string) bool {
50
51
func Example() {
52
policyStr := `(occupation: doctor) and (country: US)`
53
- invalidPolicyStr := `(ocupation: doctor) and (country: pacific)`
+ invalidPolicyStr := `(title: doctor) and (country: pacific)`
54
msgStr := `must have the precious 🎃`
55
wrongAttrsMap := map[string]string{"occupation": "doctor", "country": "croatia"}
56
rightAttrsMap := map[string]string{"occupation": "doctor", "country": "US", "age": "16"}
0 commit comments