Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Bacher <[email protected]>
  • Loading branch information
bacherfl committed Jan 13, 2025
1 parent 49e437c commit 2e10a1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/ottl/parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2192,7 +2192,7 @@ func Test_parseValueExpression_full(t *testing.T) {
name: "hex values",
valueExpression: `[0x0000000000000000, 0x0000000000000000]`,
expected: func() any {
return []interface{}{
return []any{
[]uint8{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
[]uint8{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
}
Expand Down Expand Up @@ -2220,7 +2220,7 @@ func Test_parseValueExpression_full(t *testing.T) {
name: "string list",
valueExpression: `["list", "of", "strings"]`,
expected: func() any {
return []interface{}{"list", "of", "strings"}
return []any{"list", "of", "strings"}
},
},
}
Expand Down

0 comments on commit 2e10a1e

Please sign in to comment.