• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mknos / PerlPowerTools / 7244997598 / 1
76%
master: 62%

Build:
Build:
LAST BUILD BRANCH: head-nplus
DEFAULT BRANCH: master
Ran 18 Dec 2023 07:38AM UTC
Files 4
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Dec 2023 07:35AM UTC coverage: 75.734%. Remained the same
7244997598.1

push

github

web-flow
apply: bad arg count

* Argument loop for apply -2 will continue while there are 2 remaining arguments
* If an odd number of arguments is given, the left-over argument is discarded and an error is raised
* OpenBSD apply ignores the odd argument, prints an error and does exit(1)
* This version ignores the odd argument but doesn't raise an error
* While here, move more common code into run_cmd(); calling system() in one place will make adding -d flag simpler

%perl apply -2 echo  1 2 3 4 # beautiful even args
1 2
3 4
%perl apply -2 echo  1 2 3 # test case, patch applied
1 2
apply: unexpected number of arguments

387 of 511 relevant lines covered (75.73%)

4407.74 hits per line

Source Files on job 7244997598.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7244997598
  • 3d3326fb on github
  • Prev Job for on apply-oddarg (#7244978719.1)
  • Next Job for on apply-oddarg (#7244997599.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc