Skip to content

Conversation

@byo
Copy link
Contributor

@byo byo commented Nov 15, 2025

Note

Make ErrorContains fail with a clear message when given a nil error and add a test covering this case.

  • Assertions (picotestify/assert):
    • Update ErrorContains to explicitly handle nil errors and produce a specific failure message.
    • Add test case "ErrorContains - nil" to verify the new behavior.

Written by Cursor Bugbot for commit 9247ca5. This will update automatically on new commits. Configure here.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 19395531633

Details

  • 5 of 5 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 19003035256: 0.0%
Covered Lines: 494
Relevant Lines: 494

💛 - Coveralls

@byo byo merged commit b8d4c9e into master Nov 15, 2025
6 checks passed
@byo byo deleted the fix-error-contains branch November 15, 2025 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants