Skip to content

Commit

Permalink
fix: return [][]byte with basicSliceBytes
Browse files Browse the repository at this point in the history
  • Loading branch information
znd4 committed Nov 16, 2024
1 parent 598ba77 commit 6dee545
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/ottl/expression_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ func basicSliceFloat() (ExprFunc[any], error) {
func basicSliceBytes() (ExprFunc[any], error) {
return func(_ context.Context, _ any) (any, error) {
return []any{
[]byte("pass"),
[][]byte{
[]byte("pass"),
},
}, nil
}, nil
}
Expand Down

0 comments on commit 6dee545

Please sign in to comment.