[ruby-cvs:64923] nobu:r57757 (trunk): test: use RbConfig::Limits

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Mar 2 13:54:19 JST 2017


nobu	2017-03-02 13:54:19 +0900 (Thu, 02 Mar 2017)

  New Revision: 57757

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57757

  Log:
    test: use RbConfig::Limits
    
    * test/lib/envutil.rb: rbconfig/sizeof may not be available when
      cross-compiling.  use RbConfig::Limits instead of calculating
      limits of Fixnum with hard-coded CHAR_BIT.

  Modified files:
    trunk/test/-ext-/integer/test_integer.rb
    trunk/test/lib/envutil.rb
    trunk/test/ruby/test_array.rb
    trunk/test/ruby/test_bignum.rb
    trunk/test/ruby/test_enum.rb
    trunk/test/ruby/test_marshal.rb
    trunk/test/ruby/test_numeric.rb


More information about the ruby-cvs mailing list