diff options
Diffstat (limited to 'spec/ruby/library/cgi/out_spec.rb')
-rw-r--r-- | spec/ruby/library/cgi/out_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/cgi/out_spec.rb b/spec/ruby/library/cgi/out_spec.rb index 84068cdd4f..bc09f5bcbb 100644 --- a/spec/ruby/library/cgi/out_spec.rb +++ b/spec/ruby/library/cgi/out_spec.rb @@ -46,6 +46,6 @@ describe "CGI#out when passed no block" do end it "raises a LocalJumpError" do - lambda { @cgi.out }.should raise_error(LocalJumpError) + -> { @cgi.out }.should raise_error(LocalJumpError) end end |