summaryrefslogtreecommitdiffstats
path: root/test/chunk_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/chunk_info.c')
-rw-r--r--test/chunk_info.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/test/chunk_info.c b/test/chunk_info.c
index 6f71cb2..ada2d80 100644
--- a/test/chunk_info.c
+++ b/test/chunk_info.c
@@ -1725,7 +1725,10 @@ test_failed_attempts(const char *filename, hid_t fapl)
TEST_ERROR
/* Attempt to get the number of chunks on contiguous dataset, should fail */
- H5E_BEGIN_TRY { ret = H5Dget_num_chunks(dset, dspace, &nchunks); }
+ H5E_BEGIN_TRY
+ {
+ ret = H5Dget_num_chunks(dset, dspace, &nchunks);
+ }
H5E_END_TRY;
if (ret != FAIL)
FAIL_PUTS_ERROR(" Attempt a chunk query function on a contiguous dataset.")
@@ -1745,7 +1748,10 @@ test_failed_attempts(const char *filename, hid_t fapl)
* dataset, should fail */
offset[0] = 0;
offset[1] = 0;
- H5E_BEGIN_TRY { ret = H5Dget_chunk_info_by_coord(dset, offset, &read_flt_msk, &addr, &size); }
+ H5E_BEGIN_TRY
+ {
+ ret = H5Dget_chunk_info_by_coord(dset, offset, &read_flt_msk, &addr, &size);
+ }
H5E_END_TRY;
if (ret != FAIL)
FAIL_PUTS_ERROR(" Attempt a chunk query function on a contiguous dataset.")