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

nunnatsa / ginkgolinter / 12272143683
88%

Build:
DEFAULT BRANCH: main
Ran 11 Dec 2024 08:09AM UTC
Jobs 1
Files 57
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 Dec 2024 08:07AM UTC coverage: 77.561% (+0.02%) from 77.537%
12272143683

push

github

nunnatsa
Fix false positive when asserting an error pointer

When using a pointer as an error, like in:

```go
type myErr struct {
    code int
}

func (e *myErr) Error() string {
    ...
}

...
err = &myErr{code: 404}
Expect(err).To(HaveOccured())
```

ginkgolinter mistakely detects `err` as not error type.

This PR fixes this issue.

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

2188 of 2821 relevant lines covered (77.56%)

1023.06 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12272143683.1 11 Dec 2024 08:09AM UTC 0
77.56
GitHub Action Run
Source Files on build 12272143683
Detailed source file information is not available for this build.
  • Back to Repo
  • db3b623d on github
  • Prev Build on main (#12256570117)
  • Next Build on main (#12747588200)
  • 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