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

carapace-sh / carapace-shlex / 28468700341
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 06:58PM 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 06:57PM UTC coverage: 86.154% (+4.1%) from 82.08%
28468700341

push

github

rsteube
Add edge case tests and fix fish \X escape bug

Fix: fish single-quote backslash escaping now only treats \' and \ as
escapes. Other \X sequences (e.g. $) are emitted as literal \ + X,
matching fish's documented behavior. Previously the state machine
consumed \ + any next char and emitted just the char.

Add 51 edge case tests covering:
- bash: close-quote-escape-reopen ('\''), escaped space, \n in double
  quotes, adjacent quoted segments, single-quote literal, @ wordbreak
  prefix quirk, escape at EOF, comment handling
- zsh: double-quote escape, RC_QUOTES with longer string
- fish: $ not escape in single quotes, escaped space, parens not wordbreak
- elvish: doubled-quote split, double-quote value, & not list operator,
  pipe, semicolon, open single quote
- nushell: interpolated double ($"), semicolon, open single/double quote
- powershell: doubled single-quote split, backtick escape outside/inside
  double quotes, pipe, semicolon, &&, open single/double quote
- xonsh: raw double-quoted string, &&, ||, semicolon, open single quote
- tcsh: single-quote literal, backtick literal in single quotes, escaped
  double quote outside, &&, ||, semicolon, &, open single quote
- oil: single quote, pipe, semicolon, &&
- cmd: ||, redirect detection, open double quote, caret at EOF

Total: 109 test cases, all passing.

Assisted-by: Crush:glm-5.2

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

1 existing line in 1 file now uncovered.

784 of 910 relevant lines covered (86.15%)

0.95 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
90.06
1.5% shlex.go
Jobs
ID Job ID Ran Files Coverage
1 28468700341.1 30 Jun 2026 06:58PM UTC 15
86.15
GitHub Action Run
Source Files on build 28468700341
  • Tree
  • List 15
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e3f99028 on github
  • Prev Build on v2-exp (#28467366823)
  • Next Build on v2-exp (#28468982664)
  • 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