diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-06-28 14:31:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-28 14:31:56 (GMT) |
commit | 7a44581a84778a1346a2fd5b6cca7d9db905a321 (patch) | |
tree | 44ea9c2d1b471eb227698abe8499c34cfa6d47d2 /test/gen_new_super.c | |
parent | 622fcbd13881fbc58bbeaed3062583b759f5e864 (diff) | |
download | hdf5-7a44581a84778a1346a2fd5b6cca7d9db905a321.zip hdf5-7a44581a84778a1346a2fd5b6cca7d9db905a321.tar.gz hdf5-7a44581a84778a1346a2fd5b6cca7d9db905a321.tar.bz2 |
Rename HDassert() to assert() (#3191)
* Change HDassert to assert
* Fix bin/make_err
Diffstat (limited to 'test/gen_new_super.c')
-rw-r--r-- | test/gen_new_super.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/gen_new_super.c b/test/gen_new_super.c index 47d6d47..46855e7 100644 --- a/test/gen_new_super.c +++ b/test/gen_new_super.c @@ -48,10 +48,10 @@ main(void) /* Create a file creation property list */ fcpl = H5Pcreate(H5P_FILE_CREATE); - HDassert(fcpl >= 0); + assert(fcpl >= 0); ret = H5Pset_istore_k(fcpl, ISTORE_IK); - HDassert(ret >= 0); + assert(ret >= 0); /* Creating a file with the non-default file creation property list should * create a version 1 superblock @@ -59,15 +59,15 @@ main(void) /* Create file with custom file creation property list */ file = H5Fcreate(TESTFILE, H5F_ACC_TRUNC, fcpl, H5P_DEFAULT); - HDassert(file >= 0); + assert(file >= 0); /* Close FCPL */ ret = H5Pclose(fcpl); - HDassert(ret >= 0); + assert(ret >= 0); /* Close file */ ret = H5Fclose(file); - HDassert(ret >= 0); + assert(ret >= 0); return EXIT_SUCCESS; } |