From 1ee3eca0d5ee9e5e612b4886dea8aaa80e64724c Mon Sep 17 00:00:00 2001 From: nahi Date: Fri, 6 Feb 2004 13:24:17 +0000 Subject: * lib/pp.rb (PPInspectTest#test_to_s_with_iv): remove instance variable which is defined in the test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/pp.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/pp.rb b/lib/pp.rb index 81a453d9a..b0dcf8694 100644 --- a/lib/pp.rb +++ b/lib/pp.rb @@ -541,6 +541,7 @@ if __FILE__ == $0 a.instance_eval { @a = nil } result = PP.pp(a, '') assert_equal("#{a.inspect}\n", result) + a.instance_eval { remove_instance_variable("@a") } end def test_to_s_without_iv -- cgit