Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
lxvm committed Nov 20, 2024
1 parent d159ce6 commit b703956
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions test/apilock.jl
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
using Pkg, Test
@testset "issue1179" begin
@test try
run(`$(Base.julia_cmd()) --project=$(dirname(Pkg.project().path)) -t 6 $(joinpath(@__DIR__, "issue1179.jl"))`)
run(
`$(Base.julia_cmd()) --project=$(dirname(Pkg.project().path)) -t 6 $(joinpath(@__DIR__, "issue1179.jl"))`
)
true
catch err
@info err
false
end
end
end
4 changes: 2 additions & 2 deletions test/issue1179.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Threads.@threads for i in 1:Threads.nthreads()
h5open("file$i.hdf5", "w") do h5
d = create_dataset(h5, "rand", T, sizes)
for n in 1:sizes[3]
d[:,:,n] = rand(T, sizes[1:2])
d[:, :, n] = rand(T, sizes[1:2])
end
end
end
end

0 comments on commit b703956

Please sign in to comment.