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

briandfoy / PerlPowerTools / 13523294333
63%

Build:
DEFAULT BRANCH: master
Ran 25 Feb 2025 02:17PM UTC
Jobs 10
Files 3
Run time 58min
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

25 Feb 2025 02:15PM UTC coverage: 73.085% (+0.7%) from 72.349%
13523294333

push

github

web-flow
patch: parse 2-address append in ed-diff (#962)

* When processing an "a" (append text) command in an ed-style diff, line number ranges are not parsed correctly
* If a range (e.g. "1,2") is given as a prefix to "a", the 2nd address ("2") is used as the target address
* Regular diff tools don't output "a" commands with 2 addresses
* ed-style diffs can be pasted from a previous ed editor session or typed manually, so having extra validation here is helpful
* To test this, I bypassed the code for running an external ed program
* I modified a diff generated by "diff -e", changing the "322a" command to "1,322a"... the file is patched successfully

%cat bad.diffe 
1,322a
	my $Maxlen = 1;		# longest string for current directory
.
317,318d
113d
%perl patch -e ls bad.diffe 
Hmm...  Looks like an ed diff to me...
Patching file ls using Plan A...
Hunk #1 succeeded at 113
Hunk #2 succeeded at 317
Hunk #3 succeeded at 322
done
%cmp ls ls2

353 of 483 relevant lines covered (73.08%)

46898.09 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13523294333.1 25 Feb 2025 02:17PM UTC 3
72.35
GitHub Action Run
2 13523294333.2 25 Feb 2025 02:17PM UTC 3
72.35
GitHub Action Run
3 13523294333.3 25 Feb 2025 02:17PM UTC 3
72.35
GitHub Action Run
4 13523294333.4 25 Feb 2025 02:17PM UTC 3
72.35
GitHub Action Run
5 13523294333.5 25 Feb 2025 02:17PM UTC 3
72.35
GitHub Action Run
6 13523294333.6 25 Feb 2025 02:17PM UTC 3
72.35
GitHub Action Run
7 13523294333.7 25 Feb 2025 02:17PM UTC 3
72.35
GitHub Action Run
8 13523294333.8 25 Feb 2025 02:17PM UTC 3
72.35
GitHub Action Run
9 13523294333.9 25 Feb 2025 02:17PM UTC 3
72.35
GitHub Action Run
10 13523294333.10 25 Feb 2025 02:17PM UTC 3
72.35
GitHub Action Run
Source Files on build 13523294333
  • Tree
  • List 3
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f2d85438 on github
  • Prev Build on master (#13523294333)
  • Next Build on master (#13523294349)
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

© 2025 Coveralls, Inc