Skip to content

Commit

Permalink
Refer to HDF5.API.H5Error rather than HDF5.H5Error (#956)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkitti authored Jun 13, 2022
1 parent 3a805bf commit 2e410db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/api.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ using HDF5, Test
@test names == ["a"]

# HDF5 error
@test_throws HDF5.H5Error HDF5.API.h5a_iterate(f, HDF5.API.H5_INDEX_NAME, HDF5.API.H5_ITER_INC) do loc, name, info
@test_throws HDF5.API.H5Error HDF5.API.h5a_iterate(f, HDF5.API.H5_INDEX_NAME, HDF5.API.H5_ITER_INC) do loc, name, info
return -1
end

Expand Down Expand Up @@ -76,7 +76,7 @@ end
@test names == ["a"]

# HDF5 error
@test_throws HDF5.H5Error HDF5.API.h5l_iterate(f, HDF5.API.H5_INDEX_NAME, HDF5.API.H5_ITER_INC) do loc, name, info
@test_throws HDF5.API.H5Error HDF5.API.h5l_iterate(f, HDF5.API.H5_INDEX_NAME, HDF5.API.H5_ITER_INC) do loc, name, info
return -1
end

Expand Down

0 comments on commit 2e410db

Please sign in to comment.