test date parsing

This commit is contained in:
Alessia Bardi 2020-09-07 15:37:05 +02:00
parent 630cf59022
commit 1e3ff13aa4
1 changed files with 10 additions and 0 deletions

View File

@ -1,4 +1,14 @@
package eu.dnetlib.ariadneplus.reader.utils;
import org.junit.Assert;
import org.junit.Test;
public class ESUtilsTest {
@Test
public void testParseDate(){
String date = "2013-03-13";
String parsed = ESUtils.getESFormatDate(date);
Assert.assertEquals(date, parsed);
}
}