Skip to content

improve unary operators and cleanup tests#18867

Merged
rmuir merged 1 commit intoelastic:masterfrom
rmuir:more_indy_typing
Jun 14, 2016
Merged

improve unary operators and cleanup tests#18867
rmuir merged 1 commit intoelastic:masterfrom
rmuir:more_indy_typing

Conversation

@rmuir
Copy link
Copy Markdown
Contributor

@rmuir rmuir commented Jun 14, 2016

This is similar to #18849 but for unary operators.

Don't issue casts or boxing but just use expected if available to speed these up. I added tests to DefOptimizationTests and unary tests with an expected return type.

I also split up the massive DefOperationTests, adding tests to each operator.

@jdconrad
Copy link
Copy Markdown
Contributor

LGTM. I love all the tests. Thanks @rmuir!

@jdconrad jdconrad mentioned this pull request Jun 14, 2016
18 tasks
@rmuir rmuir merged commit 2ebc5c3 into elastic:master Jun 14, 2016
@clintongormley clintongormley added :Core/Infra/Scripting Scripting abstractions, Painless, and Mustache and removed :Plugin Lang Painless labels Feb 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Core/Infra/Scripting Scripting abstractions, Painless, and Mustache >enhancement v5.0.0-alpha4

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants