diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-09-05 20:11:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-05 20:11:52 (GMT) |
commit | 920869796031ed4ee9c1fbea8aaccda3592a88b3 (patch) | |
tree | 30f007ff79b87a79c882d9149cdbfcb797be92e1 /test/error_test.c | |
parent | ae1379094b71c51342772397af5caca088862a61 (diff) | |
download | hdf5-920869796031ed4ee9c1fbea8aaccda3592a88b3.zip hdf5-920869796031ed4ee9c1fbea8aaccda3592a88b3.tar.gz hdf5-920869796031ed4ee9c1fbea8aaccda3592a88b3.tar.bz2 |
Convert hbool_t --> bool in test (#3494)
Diffstat (limited to 'test/error_test.c')
-rw-r--r-- | test/error_test.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/error_test.c b/test/error_test.c index b4d366a..ce5e4d7 100644 --- a/test/error_test.c +++ b/test/error_test.c @@ -625,28 +625,28 @@ test_append(void) /* Try to append bad error stack IDs */ H5E_BEGIN_TRY { - ret = H5Eappend_stack(H5E_DEFAULT, H5E_DEFAULT, FALSE); + ret = H5Eappend_stack(H5E_DEFAULT, H5E_DEFAULT, false); } H5E_END_TRY if (ret >= 0) TEST_ERROR; H5E_BEGIN_TRY { - ret = H5Eappend_stack(estack_id1, H5E_DEFAULT, FALSE); + ret = H5Eappend_stack(estack_id1, H5E_DEFAULT, false); } H5E_END_TRY if (ret >= 0) TEST_ERROR; H5E_BEGIN_TRY { - ret = H5Eappend_stack(H5E_DEFAULT, estack_id2, FALSE); + ret = H5Eappend_stack(H5E_DEFAULT, estack_id2, false); } H5E_END_TRY if (ret >= 0) TEST_ERROR; /* Append error stack #2 to error stack #1, without closing stack #2 */ - if (H5Eappend_stack(estack_id1, estack_id2, FALSE) < 0) + if (H5Eappend_stack(estack_id1, estack_id2, false) < 0) TEST_ERROR; /* Check the number of errors on stack #1 */ @@ -660,7 +660,7 @@ test_append(void) TEST_ERROR; /* Append error stack #2 to error stack #1, and close stack #2 */ - if (H5Eappend_stack(estack_id1, estack_id2, TRUE) < 0) + if (H5Eappend_stack(estack_id1, estack_id2, true) < 0) TEST_ERROR; /* Try to close error stack #2. Should fail because H5Eappend_stack |