ports/lang/julia/files/patch-test_file.jl
Hiroo Ono 7c2e16a817 lang/julia: update to 1.10.5
Release notes at
	https://discourse.julialang.org/t/julia-v1-10-5-has-been-released/118720

Also:
- reorganize some lines to pet portlint
- regenerate the patches
- don’t depend on suitesparse-config but on UMFPACK (including CHOLMOD) and SPQR
- replace mbedtls2 by mbedtls3 and remove deprecation
- allow to upgrade gmp and mpfr from Makefile
- fix USE_LDCONFIG
- apply the patch from PR 286169
- add a pkg-message about certificate error.

PR:		281237 + 286169
Reported by:	Hiroo Ono <hiroo.ono+freebsd (at) gmail.com> and Trond Endrestøl <Trond.Endrestol (at) ximalas.info>
2025-05-18 18:42:44 +02:00

12 lines
542 B
Julia

--- test/file.jl.orig 2024-08-27 21:19:31 UTC
+++ test/file.jl
@@ -1628,7 +1628,7 @@ end
@test isempty(readdir(join=true))
rm(d, recursive=true)
@test !ispath(d)
- @test isempty(readdir())
+ @test_throws Base._UVError("readdir(\".\")", Base.UV_ENOENT) readdir()
@test_throws Base._UVError("readdir($(repr(d)))", Base.UV_ENOENT) readdir(d)
@test_throws Base._UVError("pwd()", Base.UV_ENOENT) readdir(join=true)
end