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

enbility / ship-go / 30808179265
93%

Build:
DEFAULT BRANCH: dev
Ran 03 Aug 2026 11:09AM UTC
Jobs 1
Files 45
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

03 Aug 2026 11:06AM UTC coverage: 92.733% (-0.04%) from 92.773%
30808179265

push

github

web-flow
Tolerate structural whitespace in EEBUS JSON (#100)

JsonFromEEBUSJson unwraps the EEBUS array-of-single-key-objects encoding
via exact byte-sequence replacements. Any RFC 8259 structural whitespace
around JSON tokens defeated those matches, leaving the outer array
intact so the downstream json.Unmarshal failed.

Normalise the input with json.Compact before the replacements. Compact
is string-aware, so whitespace inside string values is preserved;
invalid JSON falls back to the raw bytes so behaviour is no worse than
before. The NUL trim moves ahead of Compact since a trailing 0x00 is
invalid JSON.

Add whitespace-tolerance tests covering all four whitespace characters
around structural tokens, whitespace inside string values, and a
pretty-printed real datagram.

Fixes #97.

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

5 existing lines in 2 files now uncovered.

5934 of 6399 relevant lines covered (92.73%)

12224.2 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
91.39
-1.44% mdns/zeroconf.go
2
81.11
0.0% cert/cert.go
Jobs
ID Job ID Ran Files Coverage
1 30808179265.1 03 Aug 2026 11:09AM UTC 45
92.73
GitHub Action Run
Source Files on build 30808179265
  • Tree
  • List 45
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30808179265
  • c791ad56 on github
  • Prev Build on dev (#30643232628)
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