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

Antonboom / testifylint / 15742930669
94%
master: 93%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/checkout-6
DEFAULT BRANCH: master
Ran 18 Jun 2025 08:29PM UTC
Jobs 1
Files 53
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

18 Jun 2025 08:25PM UTC coverage: 93.65% (+0.02%) from 93.629%
15742930669

Pull #248

github

ccoVeille
encoded-compare: fix suggestions for JSONEq and YAMLEq

I spotted it by using the following code:

    var foo json.RawMessage
    assert.EqualValues(t, `{"foo": "bar"}`, foo)

that testifylint suggested fixing like this:

    var foo json.RawMessage
    assert.JSONEq(t, `{"foo": "bar"}`, foo)

It's invalid because JSONEq expects strings.

Later, I noticed the code was also suggesting to replace:

    assert.Equal(t, `{"foo": "bar"}`, 42)

with:

    assert.JSONEq(t, `{"foo": "bar"}`, 42)
Pull Request #248: encoded-compare: fix suggestions for JSONEq and YAMLEq

31 of 31 new or added lines in 2 files covered. (100.0%)

2625 of 2803 relevant lines covered (93.65%)

1.07 hits per line

Jobs
ID Job ID Ran Files Coverage
1 15742930669.1 18 Jun 2025 08:29PM UTC 53
93.65
GitHub Action Run
Source Files on build 15742930669
  • Tree
  • List 53
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #248
  • PR Base - master (#14796134649)
  • 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