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 @@ -343,18 +343,18 @@ end
343
343
GC. gc ()
344
344
rm (file)
345
345
346
- @testset " test for #58982 - mmap with primitive types" begin
347
- file = tempname ()
348
- primitive type PrimType9Bytes 9 * 8 end
349
- arr = Vector {PrimType9Bytes} (undef, 2 )
350
- write (file, arr)
351
- m = mmap (file, Vector{PrimType9Bytes})
352
- @test length (m) == 2
353
- @test m[1 ] == arr[1 ]
354
- @test m[2 ] == arr[2 ]
355
- finalize (m); m = nothing ; GC. gc ()
356
- rm (file)
357
- end
346
+ # test for #58982 - mmap with primitive types
347
+ file = tempname ()
348
+ primitive type PrimType9Bytes 9 * 8 end
349
+ arr = Vector {PrimType9Bytes} (undef, 2 )
350
+ write (file, arr)
351
+ m = mmap (file, Vector{PrimType9Bytes})
352
+ @test length (m) == 2
353
+ @test m[1 ] == arr[1 ]
354
+ @test m[2 ] == arr[2 ]
355
+ finalize (m); m = nothing ; GC. gc ()
356
+ rm (file)
357
+
358
358
359
359
@testset " Docstrings" begin
360
360
@test isempty (Docs. undocumented_names (Mmap))
You can’t perform that action at this time.
0 commit comments