From 0168f5efe1d09096b0063b220e0ab8ba836144b3 Mon Sep 17 00:00:00 2001 From: Alexey Stukalov Date: Sat, 2 Dec 2023 19:24:35 +0000 Subject: [PATCH] fix error msg --- test/runtests.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index ca02d7a..cb00a72 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -52,8 +52,8 @@ try @test data == data3 # Test gzfdio - @test_throws "No such file or directory" gzopen("wrongfile.gz", "r") - @test_throws "No such file or directory" gzdopen("wrongfile.gz", 123, "r", 1024) + @test_throws "No such file or directory" gzopen("wrong_file.gz", "r") + @test_throws "Bad file descriptor" gzdopen("wrong_fd.gz", -1, "r", 1024) raw_file = open(test_compressed, "r") gzfile = gzdopen(fd(raw_file), "r")