Skip to content

Commit

Permalink
fix error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
alyst committed Dec 2, 2023
1 parent 3ad9058 commit 0168f5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 0168f5e

Please sign in to comment.