Skip to content

Commit

Permalink
chore: fix len in the error msg (open-policy-agent#5516)
Browse files Browse the repository at this point in the history
Signed-off-by: boranx <[email protected]>
  • Loading branch information
boranx authored Jan 2, 2023
1 parent 2b8cbda commit 9664d4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ast/visit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ fn([x, y]) = z { json.unmarshal(x, z); z > y }
vis.Walk(rule)

if len(elems) != 254 {
t.Errorf("Expected exactly 246 elements in AST but got %d: %v", len(elems), elems)
t.Errorf("Expected exactly 254 elements in AST but got %d: %v", len(elems), elems)
}
}

Expand Down

0 comments on commit 9664d4a

Please sign in to comment.