SOLR-1600

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@884407 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Noble Paul 2009-11-26 06:09:48 +00:00
parent bdfcfa4ced
commit b59388e5cd
1 changed files with 2 additions and 1 deletions

View File

@ -28,6 +28,7 @@ import org.apache.solr.common.params.ModifiableSolrParams;
import org.apache.solr.util.AbstractSolrTestCase;
import java.io.File;
import java.util.List;
/**
* Test for ContentStreamDataSource
@ -64,7 +65,7 @@ public class TestContentStreamDataSource extends TestCase {
assertEquals(2, results.getNumFound());
SolrDocument doc = results.get(0);
assertEquals("1", doc.getFieldValue("id"));
assertEquals("Hello C1", doc.getFieldValue("desc"));
assertEquals("Hello C1", ((List)doc.getFieldValue("desc")).get(0));
}
private class SolrInstance extends AbstractSolrTestCase {