Skip to content

Ruby 2.4 test failure #255

@ged

Description

@ged

Original report by Vít Ondruch (Bitbucket: vo_x, ).


Hi,

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).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions