[BUG][Perl] Tests are failing
Bug Report Checklist
-
Have you provided a full/minimal spec to reproduce the issue? -
Have you validated the input using an OpenAPI validator (example)? -
Have you tested with the latest master to confirm the issue still exists? -
Have you searched for related issues/PRs? -
What's the actual output vs expected output? -
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
The perl tests in samples/client/petstore/perl
fail for a trivial reason, e.g.
$ prove -l t/AdditionalPropertiesClassTest.t
t/AdditionalPropertiesClassTest.t .. 1/2 # Looks like you planned 2 tests but ran 1.
t/AdditionalPropertiesClassTest.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/2 subtests
Test Summary Report
-------------------
t/AdditionalPropertiesClassTest.t (Wstat: 65280 Tests: 1 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 2 tests but ran 1.
Files=1, Tests=1, 0 wallclock secs ( 0.01 usr 0.00 sys + 0.13 cusr 0.01 csys = 0.15 CPU)
Result: FAIL
openapi-generator version
I can reproduce it with the current HEAD 140d941d.
OpenAPI declaration file content or url
Generation Details
No generation steps need to be taken, only the repo needs to be cloned.
Steps to reproduce
cd samples/client/petstore/perl && prove -l
Related issues/PRs
n/a
Suggest a fix
I'd be happy to take care for this issue and submit a small template fix to make the tests pass.