summaryrefslogtreecommitdiff
path: root/spec/ruby/library/cgi/out_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/cgi/out_spec.rb')
-rw-r--r--spec/ruby/library/cgi/out_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/library/cgi/out_spec.rb b/spec/ruby/library/cgi/out_spec.rb
index c79d000284..e9eaf5e151 100644
--- a/spec/ruby/library/cgi/out_spec.rb
+++ b/spec/ruby/library/cgi/out_spec.rb
@@ -1,6 +1,6 @@
require_relative '../../spec_helper'
-ruby_version_is ""..."3.5" do
+ruby_version_is ""..."4.0" do
require 'cgi'
describe "CGI#out" do
@@ -48,7 +48,7 @@ ruby_version_is ""..."3.5" do
end
it "raises a LocalJumpError" do
- -> { @cgi.out }.should raise_error(LocalJumpError)
+ -> { @cgi.out }.should.raise(LocalJumpError)
end
end
end