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

fluentassertions / fluentassertions / 31417102017
97%

Build:
DEFAULT BRANCH: main
Ran 10 Aug 2026 06:13PM UTC
Jobs 1
Files 348
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

10 Aug 2026 06:02PM UTC coverage: 97.19% (+0.007%) from 97.183%
31417102017

push

github

web-flow
Add HaveLineCount()/NotHaveLineCount() and ContainLine()/NotContainLine() to StringAssertions (#3297)

* Add HaveLineCount/NotHaveLineCount and ContainLine/NotContainLine to StringAssertions

Adds four new assertion methods to StringAssertions, resolving #3291:
- HaveLineCount / NotHaveLineCount: assert on the number of lines in a
  string, normalizing `\r\n`, `\n` and `\r` line endings.
- ContainLine / NotContainLine: assert whether a string contains a
  specific line. ContainLine returns an AndWhichConstraint exposing the
  matched line for further chaining.

Also fixes a pre-existing gap in the net6.0 API approval baseline
(missing BeJsonSerializable entries from #3293).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Parameterize HaveLineCount success tests and add empty/newline-only cases

Addresses review feedback from @jnyrup on #3297.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Dennis Doomen <dennis.doomen@greenchoice.nl>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

4113 of 4390 branches covered (93.69%)

Branch coverage included in aggregate %.

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

13283 of 13509 relevant lines covered (98.33%)

69697.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 31417102017.1 10 Aug 2026 06:13PM UTC 348
97.19
GitHub Action Run
Source Files on build 31417102017
  • Tree
  • List 348
  • Changed 51
  • Source Changed 1
  • Coverage Changed 51
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #31417102017
  • fbd1e92c on github
  • Prev Build on main (#31414327666)
  • Next Build on main (#31426960779)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc