Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/ruby/core/signal/trap_spec.rb
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@
it "accepts a block in place of a proc/command argument" do
Signal.trap(:HUP) { ScratchPad.record :block_trap }
Process.kill :HUP, Process.pid
sleep 0.5
Thread.pass until ScratchPad.recorded
ScratchPad.recorded.should == :block_trap
end

0 comments on commit b1e6057

Please sign in to comment.