Subject: | Tests fails due to syntax on perl 5.16.0 around when expression |
Tests fails on syntax error with perl 5.16.0:
# Testing threads::lite 0.031, Perl 5.016000, /usr/bin/perl
t/00-load.t ....... ok
syntax error at t/10-basics.t line 32, near ") {"
syntax error at t/10-basics.t line 36, near ") {"
syntax error at t/10-basics.t line 40, near ") {"
syntax error at t/10-basics.t line 43, near ") {"
Too many arguments for threads::lite::receive at t/10-basics.t line 47,
near ") {"
syntax error at t/10-basics.t line 47, near ") {"
syntax error at t/10-basics.t line 55, near "}"
Execution of t/10-basics.t aborted due to compilation errors.
# Looks like your test exited with 255 before it could output anything.
t/10-basics.t .....
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 6/6 subtests
t/11-input.t ...... ok
t/20-lists.t ...... ok
syntax error at t/20-queues.t line 32, near ") {"
Too many arguments for threads::lite::receive at t/20-queues.t line 38,
near "}"
syntax error at t/20-queues.t line 38, near "}"
Execution of t/20-queues.t aborted due to compilation errors.
# Looks like your test exited with 255 before it could output anything.
t/20-queues.t .....
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 4/4 subtests
t/pod-coverage.t .. ok
t/pod.t ........... ok
Test Summary Report
All the errors points to border between `when' expression and block
delimiter.