Sha256: 52ea5b270a09fca86d073d408d7e2875ab8bd97f93ef83667dd14cb4f6bcbcaa
Contents?: true
Size: 374 Bytes
Versions: 9
Compression:
Stored size: 374 Bytes
Contents
require 'facets/module/conflict' require 'test/unit' class Test_Module_Conflict < Test::Unit::TestCase class X def q; "qx"; end end class Y def q; "qy"; end end if RUBY_VERSION < '1.9' def test_conflict? assert_equal( ["q"], X.conflict?(Y) ) end else def test_conflict? assert_equal( [:q], X.conflict?(Y) ) end end end
Version data entries
9 entries across 9 versions & 1 rubygems