added test to check that separator '-' (not hyphen) will be recognized

This commit is contained in:
Miriam Baglioni 2020-10-01 10:38:31 +02:00
parent 3dca586b3b
commit 706a80a29a
1 changed files with 11 additions and 1 deletions

View File

@ -21,7 +21,7 @@ import org.slf4j.LoggerFactory;
import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectMapper;
import eu.dnetlib.dhp.actionmanager.project.csvutils.CSVProgramme; import eu.dnetlib.dhp.actionmanager.project.utils.CSVProgramme;
public class PrepareH2020ProgrammeTest { public class PrepareH2020ProgrammeTest {
@ -132,6 +132,16 @@ public class PrepareH2020ProgrammeTest {
.get(0) .get(0)
.getString(0)); .getString(0));
Assertions
.assertEquals(
"Industrial leadership | Leadership in enabling and industrial technologies | Biotechnology",
verificationDataset
.filter("code = 'H2020-EU.2.1.4.'")
.select("classification")
.collectAsList()
.get(0)
.getString(0));
} }
} }