Skip to content

Commit

Permalink
fixed tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
daveshanley committed Sep 4, 2024
1 parent 2f104fa commit 13b75c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion functions/functions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ import (

func TestMapBuiltinFunctions(t *testing.T) {
funcs := MapBuiltinFunctions()
assert.Len(t, funcs.GetAllFunctions(), 71)
assert.Len(t, funcs.GetAllFunctions(), 72)
}
2 changes: 1 addition & 1 deletion motor/rule_applicator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ info:
assert.Len(t, results.Errors, 0)

assert.NotNil(t, results)
assert.Equal(t, "`license` section must contain a `url`", results.Results[0].Message)
assert.Equal(t, "`license` section must contain a `url` or an `identifier`", results.Results[0].Message)
}

func TestRuleSet_NoEvalInMarkdown(t *testing.T) {
Expand Down

0 comments on commit 13b75c4

Please sign in to comment.