summaryrefslogtreecommitdiffstats
path: root/test/vol.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2021-01-29 14:19:31 (GMT)
committerGitHub <noreply@github.com>2021-01-29 14:19:31 (GMT)
commit1bf8fa2665fd606d7c616eaa4223decfce2c25f2 (patch)
tree71d16fc54d0bdd05ca8b85451026eabb482ee7e2 /test/vol.c
parent98a27f1fe4f0cb96ce7fdeee2e95079ae19db5cd (diff)
downloadhdf5-1bf8fa2665fd606d7c616eaa4223decfce2c25f2.zip
hdf5-1bf8fa2665fd606d7c616eaa4223decfce2c25f2.tar.gz
hdf5-1bf8fa2665fd606d7c616eaa4223decfce2c25f2.tar.bz2
1 12 Whitespace changes after clang-format run (#288)
* OESS-98 fix tools test for plugins * sync fork * Merge of changes from dev * Move problem option to bottom of the list until fixed * HDFFV-11106 - fix parsing optional args * HDFFV-11106 add note * grammer fix * Whitespace after clang formatting * Undo format version 11 changes * Update check to working version
Diffstat (limited to 'test/vol.c')
-rw-r--r--test/vol.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/test/vol.c b/test/vol.c
index 6076fca..045e271 100644
--- a/test/vol.c
+++ b/test/vol.c
@@ -174,13 +174,13 @@ static const H5VL_class_t fake_vol_g = {
static herr_t
test_vol_registration(void)
{
- hid_t native_id = H5I_INVALID_HID;
- hid_t lapl_id = H5I_INVALID_HID;
- hid_t vipl_id = H5I_INVALID_HID;
- herr_t ret = SUCCEED;
- htri_t is_registered = FAIL;
- hid_t vol_id = H5I_INVALID_HID;
- hid_t vol_id2 = H5I_INVALID_HID;
+ hid_t native_id = H5I_INVALID_HID;
+ hid_t lapl_id = H5I_INVALID_HID;
+ hid_t vipl_id = H5I_INVALID_HID;
+ herr_t ret = SUCCEED;
+ htri_t is_registered = FAIL;
+ hid_t vol_id = H5I_INVALID_HID;
+ hid_t vol_id2 = H5I_INVALID_HID;
H5VL_class_t *bad_fake_vol_class = NULL;
TESTING("VOL registration");
@@ -210,9 +210,8 @@ test_vol_registration(void)
TEST_ERROR;
HDmemcpy(bad_fake_vol_class, &fake_vol_g, sizeof(H5VL_class_t));
bad_fake_vol_class->version = H5VL_VERSION + 1;
- H5E_BEGIN_TRY {
- vol_id = H5VLregister_connector(bad_fake_vol_class, H5P_DEFAULT);
- } H5E_END_TRY;
+ H5E_BEGIN_TRY { vol_id = H5VLregister_connector(bad_fake_vol_class, H5P_DEFAULT); }
+ H5E_END_TRY;
if (H5I_INVALID_HID != vol_id)
FAIL_PUTS_ERROR("should not be able to register a connector with an incompatible version #");
HDfree(bad_fake_vol_class);