CC: | MAUKE [...] cpan.org |
Subject: | Tests fail (with Function::Parameters 2.x?) |
My smoker systems started to report test failures:
...
In method TO_JSON: I was expecting a parameter list, not "{" at /tmpfs/.cpan-build-cpansand/2017043021/App-vaporcalc-0.005004-0/blib/lib/App/vaporcalc/Flavor.pm line 27.
Compilation failed in require at /tmpfs/.cpan-build-cpansand/2017043021/App-vaporcalc-0.005004-0/blib/lib/App/vaporcalc/Cmd/Subject/Flavor.pm line 3.
BEGIN failed--compilation aborted at /tmpfs/.cpan-build-cpansand/2017043021/App-vaporcalc-0.005004-0/blib/lib/App/vaporcalc/Cmd/Subject/Flavor.pm line 3.
Compilation failed in require at t/lib/cmd/subject/flavor.t line 4.
BEGIN failed--compilation aborted at t/lib/cmd/subject/flavor.t line 4.
t/lib/cmd/subject/flavor.t ........
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
In method _subject: I was expecting a parameter list, not "{" at /tmpfs/.cpan-build-cpansand/2017043021/App-vaporcalc-0.005004-0/blib/lib/App/vaporcalc/Cmd/Subject/Help.pm line 6.
Compilation failed in require at t/lib/cmd/subject/help.t line 4.
BEGIN failed--compilation aborted at t/lib/cmd/subject/help.t line 4.
t/lib/cmd/subject/help.t ..........
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
... (etc) ...
It looks like this is caused by changes in Function::Parameters 2.x (unchecked).