File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -341,18 +341,18 @@ end
341341GC. gc ()
342342rm (file)
343343
344- @testset " test for #58982 - mmap with primitive types" begin
345- file = tempname ()
346- primitive type PrimType9Bytes 9 * 8 end
347- arr = Vector {PrimType9Bytes} (undef, 2 )
348- write (file, arr)
349- m = mmap (file, Vector{PrimType9Bytes})
350- @test length (m) == 2
351- @test m[1 ] == arr[1 ]
352- @test m[2 ] == arr[2 ]
353- finalize (m); m = nothing ; GC. gc ()
354- rm (file)
355- end
344+ # test for #58982 - mmap with primitive types
345+ file = tempname ()
346+ primitive type PrimType9Bytes 9 * 8 end
347+ arr = Vector {PrimType9Bytes} (undef, 2 )
348+ write (file, arr)
349+ m = mmap (file, Vector{PrimType9Bytes})
350+ @test length (m) == 2
351+ @test m[1 ] == arr[1 ]
352+ @test m[2 ] == arr[2 ]
353+ finalize (m); m = nothing ; GC. gc ()
354+ rm (file)
355+
356356
357357@testset " Docstrings" begin
358358 @test isempty (Docs. undocumented_names (Mmap))
You can’t perform that action at this time.
0 commit comments