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

halostatue / diff-lcs / 45951907042
95%

Build:
DEFAULT BRANCH: main
Ran 27 Nov 2026 06:28AM UTC
Jobs 1
Files 9
Run time 1min
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

27 Nov 2026 06:26AM UTC coverage: 93.601% (+0.2%) from 93.398%
45951907042

push

github

halostatue
fix: Report identical binary files as equal with ldiff -q

The binary branch of `Ldiff#diff?` only looked at whether the files
differ when the format was not `:report`, so with `-q` it fell through to
the report, which always prints the "differ" line and returns true:
`ldiff -q` exited 1 on two identical binary files. It now returns false as
soon as the files are equal, whatever the format, as the text branch
already does.

The `diff.bin1` and `diff.bin2` fixtures also run with `-q`.

Fixes: #237
Signed-off-by: Clément Joubert <czj@users.noreply.github.com>
Assisted-by: Claude Opus 5.5 [Claude Code]

597 of 775 branches covered (77.03%)

0 of 3 new or added lines in 1 file covered. (0.0%)

863 of 922 relevant lines covered (93.6%)

38701.85 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
77.89
1.61% lib/diff/lcs/ldiff.rb
Jobs
ID Job ID Ran Files Coverage
1 45951907042.1 27 Nov 2026 06:28AM UTC 18
93.6
GitHub Action Run
Source Files on build 45951907042
  • Tree
  • List 9
  • Changed 9
  • Source Changed 1
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #45951907042
  • 38a0e12a on github
  • Prev Build on main (#44420513044)
  • Next Build on main (#46082760043)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc