split long line in ConvertProcessorTests
This commit is contained in:
parent
16e888fac3
commit
833fc8420f
|
@ -304,7 +304,8 @@ public class ConvertProcessorTests extends ESTestCase {
|
|||
public void testAutoConvertMatchBoolean() throws Exception {
|
||||
boolean randomBoolean = randomBoolean();
|
||||
String booleanString = Boolean.toString(randomBoolean);
|
||||
IngestDocument ingestDocument = RandomDocumentPicks.randomIngestDocument(random(), Collections.singletonMap("field", booleanString));
|
||||
IngestDocument ingestDocument = RandomDocumentPicks.randomIngestDocument(random(),
|
||||
Collections.singletonMap("field", booleanString));
|
||||
Processor processor = new ConvertProcessor(randomAsciiOfLength(10), "field", "field", Type.AUTO);
|
||||
processor.execute(ingestDocument);
|
||||
Object convertedValue = ingestDocument.getFieldValue("field", Object.class);
|
||||
|
|
Loading…
Reference in New Issue