diff options
| author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-06 13:24:17 +0000 |
|---|---|---|
| committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-06 13:24:17 +0000 |
| commit | dd6543ab840a2d9da1e333faa92446ac3d903493 (patch) | |
| tree | 6c076b599abd0976a39351056b5356c81f7fa870 | |
| parent | e8732845b5fabfaa6404e11fb45274b19450d24c (diff) | |
| download | ruby-dd6543ab840a2d9da1e333faa92446ac3d903493.tar.gz ruby-dd6543ab840a2d9da1e333faa92446ac3d903493.tar.xz ruby-dd6543ab840a2d9da1e333faa92446ac3d903493.zip | |
* 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/branches/ruby_1_8@5634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | lib/pp.rb | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Fri Feb 6 22:22:50 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp> + + * lib/pp.rb (PPInspectTest#test_to_s_with_iv): remove instance + variable which is defined in the test. + Fri Feb 6 00:48:37 2004 Tanaka Akira <akr@m17n.org> * lib/prettyprint.rb (PrettyPrint#first?): obsoleted. @@ -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 |
