test date parsing
This commit is contained in:
parent
630cf59022
commit
1e3ff13aa4
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue