Ruby 2.4 test failure

Issue #255 resolved
Vít Ondruch
created an issue


Trying to build pg against Ruby 2.4 for Fedora, I observe one test failure:

  1) PG::TypeMapByClass should retrieve particular conversions
     Failure/Error: expect( tm[Bignum] ).to be_nil

       expected: nil
            got: #<PG::BinaryEncoder::Int8:0x0055e79af18038 "INT8"  oid=20 format=1>
     # ./spec/pg/type_map_by_class_spec.rb:62:in `block (2 levels) in <top (required)>'
     # ./spec/helpers.rb:29:in `block in included'

This is very likely caused by unification of Fixnum and Bignum in Ruby 2.4 (1).

Comments (2)

  1. Log in to comment