Skip to content

Deprecate verify in favour of expect - #248

Merged
zainab-ali merged 1 commit into
typelevel:mainfrom
zainab-ali:deprecate-verify
Nov 10, 2025
Merged

zainab-ali merged 1 commit into
typelevel:mainfrom
zainab-ali:deprecate-verify

Conversation

@zainab-ali

Copy link
Copy Markdown
Collaborator

The verify method has the same signature and behaviour as expect, but is less useful as it doesn't support clues.

Removing it makes the API simpler for users.

pureTest("multiple") {
expect(clue(a) == clue(b)) and expect(clue(b) == clue(c)) && not(
expect(clue(c) == clue(a)))
expect(clue(a) == clue(b)) and expect(clue(b) == clue(c)) && not(expect(clue(c) == clue(a)))

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was mistakenly reformatted by scala steward in #239 , causing the test to fail. The scalafmt config should now exclude scalafix test directories.

@zainab-ali
zainab-ali merged commit 74f5282 into typelevel:main Nov 10, 2025
13 checks passed
@zainab-ali
zainab-ali deleted the deprecate-verify branch November 10, 2025 13:02
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.

1 participant