1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eregon 2017-12-27 16:12:47 +00:00
parent 0f989b87a0
commit a34db218ad
162 changed files with 1267 additions and 621 deletions

View file

@ -20,7 +20,7 @@ describe "Interrupt.new" do
end
end
describe "rescueing Interrupt" do
describe "rescuing Interrupt" do
before do
@original_sigint_proc = Signal.trap(:INT, :SIG_DFL)
end

View file

@ -60,7 +60,7 @@ describe "SignalException.new" do
end
end
describe "rescueing SignalException" do
describe "rescuing SignalException" do
it "raises a SignalException when sent a signal" do
begin
Process.kill :TERM, Process.pid

View file

@ -47,4 +47,10 @@ describe "StandardError" do
it "is a superclass of ZeroDivisionError" do
StandardError.should be_ancestor_of(ZeroDivisionError)
end
ruby_version_is '2.5' do
it "is a superclass of FrozenError" do
StandardError.should be_ancestor_of(FrozenError)
end
end
end