/vendor/gems/facets-2.4.5/test/core/kernel/test_object_hexid.rb
Ruby | 12 lines | 8 code | 4 blank | 0 comment | 0 complexity | bf85cd2adbaed2ffa5ad99423bb3f643 MD5 | raw file
Possible License(s): GPL-3.0, GPL-2.0, IPL-1.0, AGPL-1.0, LGPL-3.0
- require 'facets/kernel/object_hexid.rb'
- require 'test/unit'
- class TCKernel < Test::Unit::TestCase
- def test_object_hexid
- o = Object.new
- assert( o.inspect.index(o.object_hexid) )
- end
- end