Add RulesetError test case.

Remove old comments.
This commit is contained in:
bvanvugt 2020-12-11 10:05:19 -08:00
parent 2cbf8884bf
commit accb598e29
4 changed files with 41 additions and 36 deletions

12
ruleset_test.go Normal file
View file

@ -0,0 +1,12 @@
package rules
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestRulesetError(t *testing.T) {
err := (error)(RulesetError("test error string"))
require.Equal(t, "test error string", err.Error())
}