jonathanstowe/Test-META

Failure to detect wrong paths in `provides`

zoffixznet opened this issue · 1 comments

If the files listed in provides section contain, say /lib/foo.pm then the Test::META will OK them if lib/foo.pm exists, but panda will fail to install them.

This is due to .child method accepting the / and still returning true:

<Zoffix> m: say '/'.IO.child('dev').e; say '/'.IO.child('/dev').e
<camelia> rakudo-moar 3568c1: OUTPUT«True␤True␤»

Hadn't even occurred to me. Thanks.