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

rm-hull / placenames-api / 18755214223
45%
main: 53%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/github.com/rm-hull/godx-0.2.0
DEFAULT BRANCH: main
Ran 23 Oct 2025 04:29PM UTC
Jobs 1
Files 4
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

23 Oct 2025 04:27PM UTC coverage: 41.361% (+28.2%) from 13.158%
18755214223

Pull #5

github

rm-hull
feat: Add comprehensive tests for LoadData

Adds a new test suite for the `LoadData` function in `internal/trie.go`.

The new tests cover:
- Successful data loading
- File not found errors
- Invalid gzip file format
- CSV records with incorrect number of fields
- CSV records with invalid relevancy values
- Integration test with the full dataset

The error assertions have been made more specific to ensure the correct errors are returned. The `LoadData` function was also updated to allow for more robust error handling of malformed CSV records.
Pull Request #5: Improve test coverage

0 of 1 new or added line in 1 file covered. (0.0%)

3 existing lines in 1 file now uncovered.

79 of 191 relevant lines covered (41.36%)

0.5 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
90.8
61.73% internal/trie.go

Uncovered Existing Lines

Lines Coverage ∆ File
3
90.8
61.73% internal/trie.go
Jobs
ID Job ID Ran Files Coverage
1 18755214223.1 23 Oct 2025 04:29PM UTC 4
41.36
GitHub Action Run
Source Files on build 18755214223
  • Tree
  • List 4
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #5
  • PR Base - main (#18742020037)
  • 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