escaped test case

This commit is contained in:
helmut.neemann 2016-06-13 08:21:20 +02:00
parent 92e1acd7f3
commit f0923be37b

View File

@ -4,6 +4,7 @@ import junit.framework.TestCase;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.util.Arrays;
/**
* @author hneemann
@ -23,7 +24,7 @@ public class ResourcesTest extends TestCase {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
res.save(baos);
assertEquals(example.getBytes("utf-8"), baos.toByteArray());
assertTrue(Arrays.equals(example.getBytes("utf-8"), baos.toByteArray()));
}
public void testRead() throws Exception {