Skip to content

Commit

Permalink
Fix the casing on the comparison of q.Decision with "allow"
Browse files Browse the repository at this point in the history
  • Loading branch information
patjakdev committed Jul 3, 2024
1 parent c0573c5 commit 34fb546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration_tests/corpus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func TestCorpus(t *testing.T) {
Resource: cedar.EntityUID(q.Resource),
Context: q.Context,
})
if ok != (q.Decision == "Allow") {
if ok != (q.Decision == "allow") {
t.Fatalf("got %v want %v", ok, q.Decision)
}
var errors []string
Expand Down

0 comments on commit 34fb546

Please sign in to comment.