@@ -99,7 +99,7 @@ public class MappingStatsTests extends AbstractWireSerializingTestCase<MappingSt
9999
100100 private static final String SCRIPT_1 = scriptAsJSON ("doc['field'] + doc.field + params._source.field" );
101101 private static final String SCRIPT_2 = scriptAsJSON ("doc['field']" );
102- private static final String SCRIPT_3 = scriptAsJSON ("params._source.field + params._source.field \n + params._source.field" );
102+ private static final String SCRIPT_3 = scriptAsJSON ("params._source.field + params._source.field + params._source.field" );
103103 private static final String SCRIPT_4 = scriptAsJSON ("params._source.field" );
104104
105105 public void testToXContent () {
@@ -114,8 +114,8 @@ public void testToXContent() {
114114 "mappings" : {
115115 "total_field_count" : 12,
116116 "total_deduplicated_field_count" : 6,
117- "total_deduplicated_mapping_size" : "260b ",
118- "total_deduplicated_mapping_size_in_bytes" : 260 ,
117+ "total_deduplicated_mapping_size" : "255b ",
118+ "total_deduplicated_mapping_size_in_bytes" : 255 ,
119119 "field_types" : [
120120 {
121121 "name" : "dense_vector",
@@ -159,10 +159,10 @@ public void testToXContent() {
159159 "lang" : [
160160 "painless"
161161 ],
162- "lines_max" : 2 ,
163- "lines_total" : 6 ,
164- "chars_max" : 68 ,
165- "chars_total" : 176 ,
162+ "lines_max" : 1 ,
163+ "lines_total" : 4 ,
164+ "chars_max" : 66 ,
165+ "chars_total" : 172 ,
166166 "source_max" : 3,
167167 "source_total" : 8,
168168 "doc_max" : 0,
@@ -203,10 +203,10 @@ public void testToXContent() {
203203 "lang" : [
204204 "painless"
205205 ],
206- "lines_max" : 2 ,
207- "lines_total" : 6 ,
208- "chars_max" : 68 ,
209- "chars_total" : 176 ,
206+ "lines_max" : 1 ,
207+ "lines_total" : 4 ,
208+ "chars_max" : 66 ,
209+ "chars_total" : 172 ,
210210 "source_max" : 3,
211211 "source_total" : 8,
212212 "doc_max" : 0,
@@ -246,8 +246,8 @@ public void testToXContentWithSomeSharedMappings() {
246246 "mappings" : {
247247 "total_field_count" : 18,
248248 "total_deduplicated_field_count" : 12,
249- "total_deduplicated_mapping_size" : "519b ",
250- "total_deduplicated_mapping_size_in_bytes" : 519 ,
249+ "total_deduplicated_mapping_size" : "513b ",
250+ "total_deduplicated_mapping_size_in_bytes" : 513 ,
251251 "field_types" : [
252252 {
253253 "name" : "dense_vector",
@@ -291,10 +291,10 @@ public void testToXContentWithSomeSharedMappings() {
291291 "lang" : [
292292 "painless"
293293 ],
294- "lines_max" : 2 ,
295- "lines_total" : 9 ,
296- "chars_max" : 68 ,
297- "chars_total" : 264 ,
294+ "lines_max" : 1 ,
295+ "lines_total" : 6 ,
296+ "chars_max" : 66 ,
297+ "chars_total" : 258 ,
298298 "source_max" : 3,
299299 "source_total" : 12,
300300 "doc_max" : 0,
@@ -335,10 +335,10 @@ public void testToXContentWithSomeSharedMappings() {
335335 "lang" : [
336336 "painless"
337337 ],
338- "lines_max" : 2 ,
339- "lines_total" : 9 ,
340- "chars_max" : 68 ,
341- "chars_total" : 264 ,
338+ "lines_max" : 1 ,
339+ "lines_total" : 6 ,
340+ "chars_max" : 66 ,
341+ "chars_total" : 258 ,
342342 "source_max" : 3,
343343 "source_total" : 12,
344344 "doc_max" : 0,
0 commit comments