Skip to content

Commit

Permalink
rego: Fixing broken BenchmarkCustomFunctionInHotPath (#7312)
Browse files Browse the repository at this point in the history
Signed-off-by: Johan Fylling <johan.dev@fylling.se>
  • Loading branch information
johanfylling authored Jan 27, 2025
1 parent 6e83f2a commit 50a8c96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v1/rego/rego_bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func BenchmarkPartialObjectRuleCrossModule(b *testing.B) {

func BenchmarkCustomFunctionInHotPath(b *testing.B) {
ctx := context.Background()
input := ast.MustParseTerm(mustReadFileAsString(b, "testdata/ast.rego"))
input := ast.MustParseTerm(mustReadFileAsString(b, "testdata/ast.json"))
module := ast.MustParseModule(`package test
import rego.v1
Expand Down

0 comments on commit 50a8c96

Please sign in to comment.