From 4651910af145c2b52c100385fbc7245f01846f72 Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 16 Feb 2010 13:25:54 +0000 Subject: [PATCH] add a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- KNOWNBUGS.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/KNOWNBUGS.rb b/KNOWNBUGS.rb index b97a08d928..2859e1128d 100644 --- a/KNOWNBUGS.rb +++ b/KNOWNBUGS.rb @@ -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]'