Skip to content

Commit b6c0e55

Browse files
committed
fix yaml tests
1 parent acc3385 commit b6c0e55

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

x-pack/plugin/inference/src/yamlRestTest/resources/rest-api-spec/test/inference/90_semantic_text_highlighter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ setup:
710710
- match: { hits.hits.0.highlight.body.0: "ElasticSearch is an open source, distributed, RESTful, search engine which is built on top of Lucene internally and enjoys all the features it provides." }
711711

712712
- match: { hits.hits.1._id: "doc_2" }
713-
- length: { hits.hits.1.highlight: 2 }
713+
- length: { hits.hits.1.highlight: 1 }
714714
- length: { hits.hits.1.highlight.body: 1 }
715715
- match: { hits.hits.1.highlight.body.0: "Nothing travels faster than the speed of light with the possible exception of bad news, which obeys its own special laws." }
716716

x-pack/plugin/inference/src/yamlRestTest/resources/rest-api-spec/test/inference/90_semantic_text_highlighter_bwc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ setup:
689689
- match: { hits.hits.0.highlight.body.0: "ElasticSearch is an open source, distributed, RESTful, search engine which is built on top of Lucene internally and enjoys all the features it provides." }
690690

691691
- match: { hits.hits.1._id: "doc_2" }
692-
- length: { hits.hits.1.highlight: 2 }
692+
- length: { hits.hits.1.highlight: 1 }
693693
- length: { hits.hits.1.highlight.body: 1 }
694694
- match: { hits.hits.1.highlight.body.0: "Nothing travels faster than the speed of light with the possible exception of bad news, which obeys its own special laws." }
695695

0 commit comments

Comments
 (0)