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

umputun / revdiff / 24880590308
89%
master: 90%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.6.1
DEFAULT BRANCH: master
Ran 24 Apr 2026 08:43AM UTC
Jobs 1
Files 60
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

24 Apr 2026 08:42AM UTC coverage: 89.446% (+0.01%) from 89.433%
24880590308

Pull #149

github

umputun
fix(themes): remove all misplaced theme lines during heal

Addresses Copilot review finding on #149. The previous heal logic found
the first `theme = ...` occurrence and stopped. When a user hand-repaired
a config corrupted by the pre-fix bug by adding a valid `theme = ...`
in [Application Options] without deleting the stray inside
[color options], the patch updated the valid line in place and left
the stray, so go-flags kept erroring with `unknown option: theme` on
next startup.

scanThemeLine -> scanThemeLines now walks the full file and reports
the first default-scope index separately from every stray. The patch
loop deletes strays in reverse order (to keep earlier indices stable)
before replacing/inserting the canonical entry.

Add TestPatchConfigTheme_removesStrayDuplicates regression test and
extend the testdata round-trip table with duplicate.ini, a fixture
shaped like the hand-repair scenario, to assert the file parses cleanly
via flags.NewIniParser after the heal.

Related to #148
Pull Request #149: fix(themes): persist theme into Application Options section

48 of 52 new or added lines in 1 file covered. (92.31%)

8441 of 9437 relevant lines covered (89.45%)

551.27 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
84.89
1.3% app/themes.go
Jobs
ID Job ID Ran Files Coverage
1 24880590308.1 24 Apr 2026 08:43AM UTC 60
89.45
GitHub Action Run
Source Files on build 24880590308
  • Tree
  • List 60
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #149
  • PR Base - master (#24860662493)
  • 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