Skip to content

Commit

Permalink
REST: Fix script-expressions test to work with Perl
Browse files Browse the repository at this point in the history
Closes #9931
  • Loading branch information
clintongormley committed Mar 2, 2015
1 parent b141ea3 commit 3432f0b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rest-api-spec/test/script/30_expressions.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
---
setup:
- skip:
version: "0 - 100"
reason: Java returns floating point, but JSON returns integer
- do:
indices.create:
index: test123
Expand All @@ -26,5 +23,5 @@ setup:
"Expressions scripting test":

- do: { search: { body: { script_fields : { my_field : { lang: expression, script: 'doc["age"].value' } } } } }
- match: { hits.hits.0.fields.my_field: [ 23 ] }
- match: { hits.hits.0.fields.my_field.0: 23.0 }

0 comments on commit 3432f0b

Please sign in to comment.