Skip to content

Commit

Permalink
avoiding go mod tidy issue golang/go#44557 that CI pipeline to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
newm4n committed May 19, 2021
1 parent 943e9db commit 336da6f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/benchmark/GRBPerformance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"github.com/hyperjumptech/grule-rule-engine/builder"
"github.com/hyperjumptech/grule-rule-engine/pkg"
"github.com/stretchr/testify/assert"
"io/fs"
"os"
"testing"
"time"
Expand Down Expand Up @@ -38,8 +37,7 @@ func TestSerializationPerformanceOnFile(t *testing.T) {
lib := ast.NewKnowledgeLibrary()
rb := builder.NewRuleBuilder(lib)
err = rb.BuildRuleFromResource(knowledgeName, knowledgeVersion, pkg.NewFileResource(grlFile))
pathError := err.(*fs.PathError)
assert.NoError(t, pathError)
assert.NoError(t, err)

durationA := time.Since(timer)
t.Log("SAVING BINARY INTO GRB")
Expand Down

0 comments on commit 336da6f

Please sign in to comment.