Skip to content

Move Fixnum/Bignum specs to Integer #578

Closed

Description

@eregon

Since Ruby 2.4, Fixnum and Bignum have been unified in Integer.
Specs already handle this change but the structure was not updated.

Using the 2.5 convention (Integer methods instead of splitted between Fixnum and Bignum methods) seems nicer as everything is in one place.
So we should move specs in core/fixnum and core/bignum to core/integer, following where they live in Ruby 2.4 and more recent.

It is still a good idea to have different examples for small (Fixnum) and large values (Bignum), so that implementations without Bignum support can easily be tested.

Activity

  1. eregon commented on Jan 10, 2018

    @eregon
    MemberAuthor

    Fixed by #580 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions