diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2022-04-07 17:23:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-07 17:23:58 (GMT) |
commit | b3dbd62426c9b5be542bc41d390b4eea8473c55f (patch) | |
tree | 957b11a6068b82e9fbef1573f4f1928f0b9da8ed | |
parent | b9d77ec8be0aa633869b1d10510f96f756adf6f9 (diff) | |
download | hdf5-b3dbd62426c9b5be542bc41d390b4eea8473c55f.zip hdf5-b3dbd62426c9b5be542bc41d390b4eea8473c55f.tar.gz hdf5-b3dbd62426c9b5be542bc41d390b4eea8473c55f.tar.bz2 |
Apply suggestions from code review
-rw-r--r-- | test/cork.c | 2 | ||||
-rw-r--r-- | test/dsets.c | 8 | ||||
-rw-r--r-- | test/tfile.c | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/test/cork.c b/test/cork.c index f4b8d1c..a256482 100644 --- a/test/cork.c +++ b/test/cork.c @@ -1883,7 +1883,7 @@ test_dset_cork(hbool_t swmr, hbool_t new_format) { hid_t fid = H5I_INVALID_HID; /* File ID */ hid_t fapl = H5I_INVALID_HID; /* File access property list */ - hid_t gid = H5I_INVALID_HID; /* Grouped ID */ + hid_t gid = H5I_INVALID_HID; /* Group ID */ hid_t did1 = H5I_INVALID_HID, did2 = H5I_INVALID_HID; /* Dataset IDs */ hid_t tid1 = H5I_INVALID_HID, tid2 = H5I_INVALID_HID; /* Datatype IDs */ hid_t sid = H5I_INVALID_HID; /* Dataspace ID */ diff --git a/test/dsets.c b/test/dsets.c index b1ebf58..add97fa2 100644 --- a/test/dsets.c +++ b/test/dsets.c @@ -2009,7 +2009,7 @@ test_filter_internal(hid_t fid, const char *name, hid_t dcpl, int if_fletcher32, if (status >= 0) TEST_ERROR; - /* Callback decides to continue in spite data is corrupted. */ + /* Callback decides to continue even though data is corrupted. */ if (H5Pset_filter_callback(dxpl, filter_cb_cont, NULL) < 0) TEST_ERROR; if (H5Dread(dataset, H5T_NATIVE_INT, H5S_ALL, H5S_ALL, dxpl, check_data) < 0) @@ -2076,7 +2076,7 @@ test_filter_internal(hid_t fid, const char *name, hid_t dcpl, int if_fletcher32, if (status >= 0) TEST_ERROR; - /* Callback decides to continue in spite data is corrupted. */ + /* Callback decides to continue even though data is corrupted. */ if (H5Pset_filter_callback(dxpl, filter_cb_cont, NULL) < 0) TEST_ERROR; if (H5Dread(dataset, H5T_NATIVE_INT, H5S_ALL, H5S_ALL, dxpl, check_data) < 0) @@ -2140,7 +2140,7 @@ test_filter_internal(hid_t fid, const char *name, hid_t dcpl, int if_fletcher32, if (status >= 0) TEST_ERROR; - /* Callback decides to continue in spite data is corrupted. */ + /* Callback decides to continue even though data is corrupted. */ if (H5Pset_filter_callback(dxpl, filter_cb_cont, NULL) < 0) TEST_ERROR; if (H5Dread(dataset, H5T_NATIVE_INT, H5S_ALL, H5S_ALL, dxpl, check_data) < 0) @@ -2207,7 +2207,7 @@ test_filter_internal(hid_t fid, const char *name, hid_t dcpl, int if_fletcher32, if (status >= 0) TEST_ERROR; - /* Callback decides to continue in spite data is corrupted. */ + /* Callback decides to continue even though data is corrupted. */ if (H5Pset_filter_callback(dxpl, filter_cb_cont, NULL) < 0) TEST_ERROR; if (H5Dread(dataset, H5T_NATIVE_INT, H5S_ALL, H5S_ALL, dxpl, check_data) < 0) diff --git a/test/tfile.c b/test/tfile.c index d49a64c..e955098 100644 --- a/test/tfile.c +++ b/test/tfile.c @@ -2914,7 +2914,7 @@ test_userblock_file_size(void) ret = H5Pset_userblock(fcpl2_id, USERBLOCK_SIZE); CHECK(ret, FAIL, "H5Pset_userblock"); - /* Create files. Only file2 with have a userblock. */ + /* Create files. Only file2 will have a userblock. */ file1_id = H5Fcreate(FILE1, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); CHECK(file1_id, FAIL, "H5Fcreate"); file2_id = H5Fcreate(FILE2, H5F_ACC_TRUNC, fcpl2_id, H5P_DEFAULT); |