summaryrefslogtreecommitdiff
path: root/spec/ruby/library/expect
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/expect')
-rw-r--r--spec/ruby/library/expect/expect_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/expect/expect_spec.rb b/spec/ruby/library/expect/expect_spec.rb
index 454023979f..a7041d42ee 100644
--- a/spec/ruby/library/expect/expect_spec.rb
+++ b/spec/ruby/library/expect/expect_spec.rb
@@ -37,7 +37,7 @@ platform_is_not :windows do
@write << "prompt> hello"
@read.close
- lambda {
+ -> {
@read.expect("hello")
}.should raise_error(IOError)
end