summaryrefslogtreecommitdiff
path: root/spec/ruby/core/exception/system_call_error_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/exception/system_call_error_spec.rb')
-rw-r--r--spec/ruby/core/exception/system_call_error_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/exception/system_call_error_spec.rb b/spec/ruby/core/exception/system_call_error_spec.rb
index f27977a547..73167bc288 100644
--- a/spec/ruby/core/exception/system_call_error_spec.rb
+++ b/spec/ruby/core/exception/system_call_error_spec.rb
@@ -31,7 +31,7 @@ describe "SystemCallError.new" do
-> { SystemCallError.new }.should raise_error(ArgumentError)
end
- it "accepts single Fixnum argument as errno" do
+ it "accepts single Integer argument as errno" do
SystemCallError.new(-2**24).errno.should == -2**24
SystemCallError.new(-1).errno.should == -1
SystemCallError.new(0).errno.should == 0