From a4865034d9a699ce05c6801316fa960c30e3a84c Mon Sep 17 00:00:00 2001 From: Simon Byrne Date: Fri, 8 Sep 2023 10:03:20 -0700 Subject: [PATCH] debug windows failures --- test/api.jl | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/test/api.jl b/test/api.jl index 2e086ef57..55f13a989 100644 --- a/test/api.jl +++ b/test/api.jl @@ -37,12 +37,6 @@ using HDF5, Test end == 1 @test names == ["a"] - # HDF5 error - @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 # Julia error @test_throws AssertionError HDF5.API.h5a_iterate( @@ -50,6 +44,13 @@ using HDF5, Test ) do loc, name, info @assert false end + + # HDF5 error + @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 end @testset "h5l_iterate" begin