diff options
Diffstat (limited to 'org.jacoco.core.test/src/org/jacoco/core/data/ExecutionDataReaderWriterTest.java')
-rw-r--r-- | org.jacoco.core.test/src/org/jacoco/core/data/ExecutionDataReaderWriterTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.jacoco.core.test/src/org/jacoco/core/data/ExecutionDataReaderWriterTest.java b/org.jacoco.core.test/src/org/jacoco/core/data/ExecutionDataReaderWriterTest.java index 0efcf7a3..2b6dcbc3 100644 --- a/org.jacoco.core.test/src/org/jacoco/core/data/ExecutionDataReaderWriterTest.java +++ b/org.jacoco.core.test/src/org/jacoco/core/data/ExecutionDataReaderWriterTest.java @@ -135,8 +135,8 @@ public class ExecutionDataReaderWriterTest { createReader().read(); } - @Test(expected = IOException.class) - public void testInvalidHeaderVersion() throws IOException { + @Test(expected = IncompatibleExecDataVersionException.class) + public void testInvalidVersion() throws IOException { buffer = new ByteArrayOutputStream(); buffer.write(ExecutionDataWriter.BLOCK_HEADER); buffer.write(0xC0); |