summaryrefslogtreecommitdiffstats
path: root/test/trefer.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/trefer.c')
-rw-r--r--test/trefer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/trefer.c b/test/trefer.c
index 24911be..00ac746 100644
--- a/test/trefer.c
+++ b/test/trefer.c
@@ -1068,7 +1068,7 @@ test_reference_group(void)
/* Delete dataset object in dereferenced group (with other dataset still open) */
ret = H5Gunlink(gid, DSETNAME2);
- assert(ret >= 0);
+ CHECK(ret, FAIL, "H5Gunlink");
/* Close objects */
ret = H5Dclose(did);