aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/thread/shared/start.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/thread/shared/start.rb')
-rw-r--r--spec/ruby/core/thread/shared/start.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/thread/shared/start.rb b/spec/ruby/core/thread/shared/start.rb
index 80ce063a0e..2ba926bf00 100644
--- a/spec/ruby/core/thread/shared/start.rb
+++ b/spec/ruby/core/thread/shared/start.rb
@@ -4,7 +4,7 @@ describe :thread_start, shared: true do
end
it "raises an ArgumentError if not passed a block" do
- lambda {
+ -> {
Thread.send(@method)
}.should raise_error(ArgumentError)
end