sergot / IO-Capture-Simple

IO can be captured.
3 stars 8 forks source link

Replace removed feature 'as' keyword #8

Closed syohex closed 8 years ago

syohex commented 8 years ago

IO::Capture::Simple cannot be compiled with latest rakudo as below.

% prove -rv -e 'perl6 -Ilib' t/test-io-capture/01-basic.t
t/test-io-capture/01-basic.t .. ===SORRY!=== Error while compiling /home/syohei/.cpanm/work/1450767019.20953/IO-Capture-Simple/lib/Test/IO/Capture.pm
Malformed parameter
at /home/syohei/.cpanm/work/1450767019.20953/IO-Capture-Simple/lib/Test/IO/Capture.pm:6
------> nts-stdout-ok (Callable $code, $expected⏏ as Str, $reason = '')
    expecting any of:
        constraint
===SORRY!=== Error while compiling /home/syohei/.cpanm/work/1450767019.20953/IO-Capture-Simple/lib/Test/IO/Capture.pm
Malformed parameter
at /home/syohei/.cpanm/work/1450767019.20953/IO-Capture-Simple/lib/Test/IO/Capture.pm:6
------> nts-stdout-ok (Callable $code, $expected⏏ as Str, $reason = '')
    expecting any of:
        constraint
sergot commented 8 years ago

Thank you very much!