Skip to content

Commit 3432f0b

Browse files
REST: Fix script-expressions test to work with Perl
Closes elastic#9931
1 parent b141ea3 commit 3432f0b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

rest-api-spec/test/script/30_expressions.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
---
22
setup:
3-
- skip:
4-
version: "0 - 100"
5-
reason: Java returns floating point, but JSON returns integer
63
- do:
74
indices.create:
85
index: test123
@@ -26,5 +23,5 @@ setup:
2623
"Expressions scripting test":
2724

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

0 commit comments

Comments
 (0)