mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-18 09:24:42 -04:00
escaped test case
This commit is contained in:
parent
92e1acd7f3
commit
f0923be37b
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user