mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
13 lines
215 B
Ruby
13 lines
215 B
Ruby
![]() |
require File.expand_path('../../../spec_helper', __FILE__)
|
||
|
require 'find'
|
||
|
|
||
|
describe "Find.prune" do
|
||
|
it "should throw :prune" do
|
||
|
msg = catch(:prune) do
|
||
|
Find.prune
|
||
|
end
|
||
|
|
||
|
msg.should == nil
|
||
|
end
|
||
|
end
|