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

umputun / revdiff / 25687512254
90%
master: 90%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.4.1
DEFAULT BRANCH: master
Ran 11 May 2026 05:54PM UTC
Jobs 1
Files 69
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

11 May 2026 05:53PM UTC coverage: 89.79% (+0.03%) from 89.764%
25687512254

Pull #181

github

umputun
test(toc-wheel): assert CurrentLineIdx ok flag in WheelInTOCJumpsViewport

Copilot review on #181 caught that several test sites ignored the ok return value from TOC.CurrentLineIdx(). On the clamp tests (wheel-up at top, wheel-down at bottom) that's a real defensive gap: if a regression invalidated the TOC cursor, CurrentLineIdx returns (0, false) and the assertion against the default 0 value silently passes.

Switched all 6 _ := patterns in WheelInTOCJumpsViewport to ok := with require.True. Matches the pattern already used in the two pass-through subtests (lines 1067-1068, 1085-1086). Three sites are the ones Copilot flagged; the other three are the same shape and were fixed for consistency.
Pull Request #181: fix(mouse): tree/TOC wheel scrolls one entry per notch (not three)

10 of 10 new or added lines in 1 file covered. (100.0%)

9753 of 10862 relevant lines covered (89.79%)

3194.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25687512254.1 11 May 2026 05:54PM UTC 69
89.79
GitHub Action Run
Source Files on build 25687512254
  • Tree
  • List 69
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #181
  • PR Base - master (#25685776438)
  • 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