Skip to content

Commit 65a803e

Browse files
KristofferCKristofferC
authored andcommitted
remove a testset from MMAP that might cause CI to now fail on Windows (#59062)
(cherry picked from commit 4718f43)
1 parent 2c49c74 commit 65a803e

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

stdlib/Mmap/test/runtests.jl

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -341,18 +341,18 @@ end
341341
GC.gc()
342342
rm(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))

0 commit comments

Comments
 (0)