зеркало из https://github.com/github/ruby.git
* lib/pp.rb (PPInspectTest#test_to_s_with_iv): remove instance
variable which is defined in the test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
9ab9489da4
Коммит
c47d29da45
|
@ -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 18:54:18 2004 akira yamada <akira@ruby-lang.org>
|
||||
|
||||
* test/ruby/test_proc.rb (TestProc::test_eq): added a
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче