From 26f361b0b3e3c5b863712fc3f8cd0de16230bd07 Mon Sep 17 00:00:00 2001 From: Fernando Briano Date: Mon, 12 Oct 2020 10:15:28 +0100 Subject: [PATCH] Adds quotes to value containing : in runtime_fields test --- .../resources/rest-api-spec/test/runtime_fields/20_long.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/20_long.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/20_long.yml index bf211aceb704..c8fe305f030f 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/20_long.yml +++ b/x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/20_long.yml @@ -183,7 +183,7 @@ setup: term: voltage_times_ten: 58 - match: {hits.hits.0._explanation.value: 1.0} - - match: {hits.hits.0._explanation.description: voltage_times_ten:58} + - match: {hits.hits.0._explanation.description: "voltage_times_ten:58"} - match: {hits.hits.0._explanation.details.0.value: 1.0} - match: {hits.hits.0._explanation.details.0.description: 'boost * runtime_field_score'} - match: {hits.hits.0._explanation.details.0.details.0.value: 1.0}