Skip to content

Commit

Permalink
Fix TestEQL on Windows 32-bit. (#22349)
Browse files Browse the repository at this point in the history
  • Loading branch information
blakerouse authored Nov 2, 2020
1 parent 3d4cc25 commit 0626c2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x-pack/elastic-agent/pkg/eql/eql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,9 @@ func TestEql(t *testing.T) {
{expression: "match('not enough')", err: true},
{expression: "match('elastic.co', '[a-z')", err: true},
{expression: "number('002020') == 2020", result: true},
{expression: "number('0xdeadbeef', 16) == 3735928559", result: true},
{expression: "number('0xbeef', 16) == 48879", result: true},
{expression: "number('not a number') == 'not'", err: true},
{expression: "number('0xdeadbeef', 16, 2) == 'too many args'", err: true},
{expression: "number('0xbeef', 16, 2) == 'too many args'", err: true},
{expression: "startsWith('hello world', 'hello')", result: true},
{expression: "startsWith('hello world', 'llo')", result: false},
{expression: "startsWith('hello world', 'hello', 'too many args')", err: true},
Expand Down

0 comments on commit 0626c2a

Please sign in to comment.