Skip to content

Commit 031e688

Browse files
committed
fix error tests
1 parent 766ab07 commit 031e688

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_error.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ int main(int argc, char **argv)
131131
tid = H5Tcopy(H5T_NATIVE_DOUBLE);
132132
H5Tset_size(tid, 9);
133133
if (0 <= (dsid = H5Dcreate(fid, "bad_type_size", tid, sid, H5P_DEFAULT, cpid, H5P_DEFAULT))) SET_ERROR(H5Dcreate);
134-
assert(check_hdf5_error_stack_for_string("requires datatype size of 4 or 8"));
134+
assert(check_hdf5_error_stack_for_string("requires primitive datatype size of 4 or 8"));
135135
H5Tclose(tid);
136136

137137
/* test invalid chunking on highd data */
@@ -192,7 +192,7 @@ int main(int argc, char **argv)
192192
double d = fabs(rbuf[i] - buf[i]);
193193
if (d > acc) ndiffs++;
194194
}
195-
assert(ndiffs == 1408);
195+
assert(ndiffs == 1403);
196196
if (0 > H5Dclose(dsid)) SET_ERROR(H5Dclose);
197197

198198
free(buf);

0 commit comments

Comments
 (0)