Skip to content

stat() in array context does not work with perl 5.23.3 and greater #291

@eserte

Description

@eserte

The File-stat.t test fails:

$ perl5.23.4 -Mblib t/File-stat.t                                          
ok 1 - An object of class 'File::stat' isa 'File::stat'
ok 2
not ok 3 - stat() in array context
#   Failed test 'stat() in array context'
#   at t/File-stat.t line 10.
#     Structures begin differing at:
#          $got->[0] = Does not exist
#     $expected->[0] = '17'
not ok 4 - lstat() in array context
#   Failed test 'lstat() in array context'
#   at t/File-stat.t line 11.
#     Structures begin differing at:
#          $got->[0] = Does not exist
#     $expected->[0] = '17'
1..4
# Looks like you failed 2 tests of 4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions