summaryrefslogtreecommitdiffstats
path: root/java/test/TestH5Sbasic.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/test/TestH5Sbasic.java')
-rw-r--r--java/test/TestH5Sbasic.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/test/TestH5Sbasic.java b/java/test/TestH5Sbasic.java
index 3007495..2173647 100644
--- a/java/test/TestH5Sbasic.java
+++ b/java/test/TestH5Sbasic.java
@@ -49,7 +49,7 @@ public class TestH5Sbasic {
H5.H5Screate(-1);
}
- @Test(expected = HDF5LibraryException.class)
+ @Test(expected = IllegalArgumentException.class)
public void testH5Sget_simple_extent_type_invalid() throws Throwable {
H5.H5Sget_simple_extent_type(-1);
}