ruby-changes:14822
From: akr <ko1@a...>
Date: Tue, 16 Feb 2010 22:26:35 +0900 (JST)
Subject: [ruby-changes:14822] Ruby:r26686 (trunk): add a test.
akr 2010-02-16 22:25:54 +0900 (Tue, 16 Feb 2010) New Revision: 26686 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=26686 Log: add a test. Modified files: trunk/KNOWNBUGS.rb Index: KNOWNBUGS.rb =================================================================== --- KNOWNBUGS.rb (revision 26685) +++ KNOWNBUGS.rb (revision 26686) @@ -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]' -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/