Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include the expect_identical_linter #127

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

RasmusSkytte
Copy link
Contributor

@RasmusSkytte RasmusSkytte commented Oct 25, 2024

Intent

This PR introduces the expect_identical_linter to our set of linters.

This should help make our tests even more specific.

Approach

Exception removed for the expect_identical_linter.

Existing expect_equal converted to expect_identical unless we are comparing functions.
Functions also carry their own environment, which makes them equal but not "identical".

Known issues

N/A

Checklist

  • The PR passes all local unit tests
  • I have documented any new features introduced
  • If the PR adds a new feature, please add an entry in NEWS.md
  • A reviewer is assigned to this PR

@RasmusSkytte RasmusSkytte self-assigned this Oct 25, 2024
@RasmusSkytte RasmusSkytte added enhancement New feature or request tests Improvements or additions to the tests and removed enhancement New feature or request labels Oct 25, 2024
@RasmusSkytte RasmusSkytte marked this pull request as ready for review October 25, 2024 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Improvements or additions to the tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant