1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

add a test.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2010-02-16 13:25:54 +00:00
parent a9f6a95530
commit 4651910af1

View file

@ -3,3 +3,14 @@
# So all tests will cause failure.
#
assert_normal_exit %q{
open("tst-remove-load.rb", "w") {|f|
f << <<'End'
module Kernel
remove_method :load
end
raise
End
}
load "tst-remove-load.rb"
}, '[ruby-dev:40234] [ruby-core:27959]'