1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/ruby/test_modules.rb (remove_json_mixins): change judgment

condition.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
mame 2008-05-24 19:31:30 +00:00
parent 87665465cd
commit 5c669c26c5
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Sun May 25 04:30:45 2008 Yusuke Endoh <mame@tsg.ne.jp>
* test/ruby/test_modules.rb (remove_json_mixins): change judgment
condition.
Sun May 25 03:54:39 2008 Yusuke Endoh <mame@tsg.ne.jp>
* test/ruby/test_modules.rb (test_ancestors, test_included_modules):

View file

@ -69,7 +69,7 @@ class TestModule < Test::Unit::TestCase
end
def remove_json_mixins(list)
list.reject {|c| c.instance_methods(false).include?(:to_json) }
list.reject {|c| c.to_s.start_with?("JSON") }
end
module Mixin