summaryrefslogtreecommitdiff
path: root/spec/ruby/core/kernel/untrusted_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/kernel/untrusted_spec.rb')
-rw-r--r--spec/ruby/core/kernel/untrusted_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/kernel/untrusted_spec.rb b/spec/ruby/core/kernel/untrusted_spec.rb
index 55638a5dd3..3f894b0bab 100644
--- a/spec/ruby/core/kernel/untrusted_spec.rb
+++ b/spec/ruby/core/kernel/untrusted_spec.rb
@@ -23,6 +23,6 @@ describe "Kernel#untrusted?" do
it "has effect on immediate values" do
d = 1
- lambda { d.untrust }.should_not raise_error(RuntimeError)
+ -> { d.untrust }.should_not raise_error(RuntimeError)
end
end