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

carapace-sh / carapace-shlex / 28469547192
85%
master: 56%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/github.com/carapace-sh/carapace-1.13.1
DEFAULT BRANCH: master
Ran 30 Jun 2026 07:13PM UTC
Jobs 1
Files 15
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

30 Jun 2026 07:11PM UTC coverage: 85.633% (-0.5%) from 86.154%
28469547192

push

github

rsteube
Consolidate test files and add newBaseClassifier helper

Test file reorganization:
- Delete scattered test files (format_posix_test.go, format_fixes_test.go,
  format_phase4_test.go, edge_cases_test.go)
- Create one format_<shell>_test.go per format (10 files)
- Move TestClassifier from shlex_test.go to format_bash_test.go
- Merge edge case tests into their format's test file
- Each format now has a dedicated test file with all its tests

Code cleanup:
- Add newBaseClassifier(escapeChar) helper in shlex.go that creates a
  classifier with standard POSIX rune classes (space, quotes, escape,
  comment) without wordbreaks
- Add addWordbreaks(runes) method on tokenClassifier that filters out
  already-classified runes
- Update all 7 format Classifier() methods to use the helpers, reducing
  boilerplate from ~15 lines to ~5 lines each

109 test cases pass, 0 gofmt diffs.

Assisted-by: Crush:glm-5.2

24 of 24 new or added lines in 5 files covered. (100.0%)

751 of 877 relevant lines covered (85.63%)

0.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28469547192.1 30 Jun 2026 07:13PM UTC 15
85.63
GitHub Action Run
Source Files on build 28469547192
  • Tree
  • List 15
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 430141ef on github
  • Prev Build on v2-exp (#28468982664)
  • Next Build on v2-exp (#28470006863)
  • 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