Skip to content

Conversation

@petrdobr
Copy link
Contributor

What was changed

  • Added Assert::notSame(mixed $expected, mixed $actual, string $message = '').
  • Added AssertException::notSame(...) with consistent payload/message.
  • Covered with an assertion in existing test case (simpleAssertions()).

Why?

Complements assertSame with a strict non-identity check; common need in specs and keeps reporter/collector output consistent.

Checklist

  • Tested
    • Tested manually
    • Unit tests added (expanded existing Assert test)
  • Documentation

@petrdobr petrdobr force-pushed the feat/assert-not-same branch from 8823d7a to 6aa4818 Compare October 23, 2025 21:07
@roxblnfk roxblnfk merged commit e635949 into php-testo:master Oct 24, 2025
This was referenced Oct 24, 2025
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.

2 participants