Skip to content

Commit

Permalink
SystemError spec: Make it pass on mac.
Browse files Browse the repository at this point in the history
  • Loading branch information
yxhuvud committed Jul 24, 2021
1 parent bac4814 commit 7d4c515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/std/system_error_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ describe SystemError do
it "Can build an error from an errno" do
errno = Errno.new(11)
error = ::IO::Error.from_os_error(message: nil, os_error: errno)
error.message.should eq("Resource temporarily unavailable")
error.message.should match(/Resource/)
end
end
end

0 comments on commit 7d4c515

Please sign in to comment.