Skip to content

Commit

Permalink
chore: fix error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
moshloop committed Oct 22, 2023
1 parent 14f6d62 commit 362020b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cel_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func TestExtensions(t *testing.T) {
}
func TestStrings(t *testing.T) {
tests := []Test{
// {nil, "random.String(10, ['a','b','d'])", ""},
{nil, `random.AlphaNum(10).size()`, "10"},
{nil, "'abcdedf'.runeCount()", "7"},
{map[string]interface{}{"hello": "world"}, "hello", "world"},
{map[string]interface{}{"hello": "hello world ?"}, "urlencode(hello)", `hello+world+%3F`},
Expand Down

0 comments on commit 362020b

Please sign in to comment.