Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (12 sloc) 0.416 kb
assert ":ok", %q{
begin
require 'doesnotexist'
rescue LoadError
p :ok
end
}
assert ":ok", "require '#{Dir.pwd + '/fixtures/foo'}'"
assert ":ok", "require '#{Dir.pwd + '/fixtures/foo.rb'}'"
assert ":ok", "$:.unshift('fixtures'); require 'foo'"
assert ":ok", "begin; require 'fixtures/raise'; rescue NameError; p :ok; end"
assert ":ok", "begin; require '/doesnotexist'; rescue LoadError; p :ok; end"
Jump to Line
Something went wrong with that request. Please try again.