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

Instagram / IGListKit / 6491699496
96%
master: 100%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 12 Oct 2023 05:42AM UTC
Jobs 1
Files 48
Run time 2s
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

12 Oct 2023 05:30AM UTC coverage: 100.0% (+0.2%) from 99.758%
6491699496

push

github

facebook-github-bot
Refactored check in IGListCollectionViewLayout for more reliable coverage

Summary:
The `[context invalidateDataSourceCounts] && _minimumInvalidatedSection == NSNotFound` condition was never getting triggered in any of our tests.

I tried to simulate this condition in my testing, but it doesn't seem possible to have `_minimumInvalidatedSection` set to `NSNotFound` when execution reaches this point. This is because the only public pathway I could see to `[context invalidateLayoutWithContext:]` was via the regular `invalidateLayout` method which always sets `_minimumInvalidatedSection` to 0 before continuing.

To solve this, since the resulting logic ends up being the same in the check above, I simply collapsed this check into the one above it.

Reviewed By: fabiomassimo

Differential Revision: D50000788

fbshipit-source-id: da0bf0cb1

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

4135 of 4135 relevant lines covered (100.0%)

748.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 iOS - 6491699496.1 12 Oct 2023 05:42AM UTC 0
100.0
GitHub Action Run
Source Files on build 6491699496
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #6491699496
  • a5118913 on github
  • Prev Build on main (#6491329384)
  • Next Build on main (#6492149170)
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