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

nunnatsa / ginkgolinter / 21660860836
88%

Build:
DEFAULT BRANCH: main
Ran 04 Feb 2026 06:18AM UTC
Jobs 1
Files 54
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

04 Feb 2026 06:17AM UTC coverage: 87.973% (+0.07%) from 87.9%
21660860836

push

github

nunnatsa
accept async functions with testing.TB variant instead of Gomega

In Kubernetes' ktesting package the following assertion is valid:

    tCtx.Eventually(func(tCtx TContext) { /* maybe fail via tCtx */ }).Should(Succeed())

That works because tCtx.Eventually wraps the function such that failures
reported via tCtx.Error/Errorf/Fatal/Fatalf are visible to the matcher.

Without this change, the "Success matcher only support a single error value, or
function with Gomega as its first parameter" warning is triggered.

Instead of building in specific support for ktesting, the approach is to check
for a first parameter which has any (not necessarily all!) of the testing.TB
methods for reporting failures. That is considered a valid alternative to
a Gomega instance.

There's now a potential false negative in the linter when passing such a
function directly to gomega.Eventually/Consistently. That'll fail at runtime
because gomega cannot call it, so such a false negative isn't too bad (fails
reliably and obviously).

The warning message doesn't get changed because it would be confusing for most
users to call out some vague alternative (vague because the linter has no
details) that most users won't be able to use.

30 of 30 new or added lines in 3 files covered. (100.0%)

1 existing line in 1 file now uncovered.

2582 of 2935 relevant lines covered (87.97%)

1757.85 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
70.0
-2.5% internal/gomegainfo/gomegainfo.go
Jobs
ID Job ID Ran Files Coverage
1 Unit - 21660860836.1 04 Feb 2026 06:18AM UTC 54
87.97
GitHub Action Run
Source Files on build 21660860836
  • Tree
  • List 54
  • Changed 5
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21660860836
  • c325ce8f on github
  • Prev Build on main (#21126119649)
  • 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