@@ -0,0 +1,497 @@
+package owltools.gaf;%0A%0Aimport static org.junit.Assert.*;%0A%0Aimport org.apache.commons.lang3.StringUtils;%0Aimport org.junit.Test;%0A%0Apublic class SplitTest %7B%0A%0A%09/**%0A%09 * Assert that the regex and the %7B@link StringUtils%7D produce the same result.%0A%09 * %0A%09 * @see GAFParser%0A%09 */%0A%09@Test%0A%09public void testSplit() %7B%0A%09%09final String source = %22a%5Ct%5Ct%5Cta%22;%0A%09%09String%5B%5D splitOld = source.split(%22%5C%5Ct%22);%0A%09%09String%5B%5D splitNew = StringUtils.splitPreserveAllTokens(source, '%5Ct');%0A%09%09assertArrayEquals(splitOld, splitNew);%0A%09%7D%0A%7D%0A

add test to ensure split behavior in the GAF parser is equivalent