split long line in ConvertProcessorTests

This commit is contained in:
Tal Levy 2016-03-29 08:19:15 -07:00
parent 16e888fac3
commit 833fc8420f
1 changed files with 2 additions and 1 deletions

View File

@ -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);