avoid platform dependent message
This commit is contained in:
parent
f220866c39
commit
c717dbdc81
Notes:
git
2025-03-18 16:29:17 +00:00
@ -138,12 +138,7 @@ end
|
||||
|
||||
describe "SystemCallError#message" do
|
||||
it "returns the default message when no message is given" do
|
||||
platform_is :aix do
|
||||
SystemCallError.new(2**28).message.should =~ /Error .*occurred/i
|
||||
end
|
||||
platform_is_not :aix do
|
||||
SystemCallError.new(2**28).message.should =~ @some_human_readable
|
||||
end
|
||||
SystemCallError.new(2**28).message.should =~ @some_human_readable
|
||||
end
|
||||
|
||||
it "returns the message given as an argument to new" do
|
||||
|
Loading…
x
Reference in New Issue
Block a user