Skip to content

Concurrent::Map #inspect test error #547

@voxik

Description

@voxik

Trying to build package for Fedora ([1] but this link will expire quite soon), I got following error:

  1) Concurrent::Map #inspect
     Failure/Error: expect(Concurrent::Map.new.inspect).to match(regexp)
       expected "#<Concurrent::Map:0x-7db1e810 entries=0 default_proc=nil>" to match /\A#<Concurrent::Map:0x[0-9a-f]+ entries=[0-9]+ default_proc=.*>\Z/i
       Diff:
       @@ -1,2 +1,2 @@
       -/\A#<Concurrent::Map:0x[0-9a-f]+ entries=[0-9]+ default_proc=.*>\Z/i
       +"#<Concurrent::Map:0x-7db1e810 entries=0 default_proc=nil>"
     # ./spec/concurrent/map_spec.rb:831:in `block (2 levels) in <module:Concurrent>'

Please note this was 32b ARM builder, so is this some wrong mapping of integers in inspect method?

[1] http://koji.fedoraproject.org/koji/taskinfo?taskID=14762876

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA bug in the library or documentation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions