aboutsummaryrefslogtreecommitdiffstats
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 d9e303bad8..c07c8af72c 100644
--- a/spec/ruby/core/exception/system_call_error_spec.rb
+++ b/spec/ruby/core/exception/system_call_error_spec.rb
@@ -21,7 +21,7 @@ end
describe "SystemCallError.new" do
it "requires at least one argument" do
- lambda { SystemCallError.new }.should raise_error(ArgumentError)
+ -> { SystemCallError.new }.should raise_error(ArgumentError)
end
it "accepts single Fixnum argument as errno" do