Skip to content

Exclude more un-diffable objects#273

Merged
jas14 merged 2 commits into
mainfrom
lucas/exclude-undiffables
Nov 8, 2024
Merged

Exclude more un-diffable objects#273
jas14 merged 2 commits into
mainfrom
lucas/exclude-undiffables

Conversation

@lucaseras

Copy link
Copy Markdown
Contributor

Closes #268

@jas14 jas14 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Fantastic, thank you!

@jas14 jas14 merged commit 8c827b6 into main Nov 8, 2024
@jas14 jas14 deleted the lucas/exclude-undiffables branch November 8, 2024 22:40
jas14 pushed a commit that referenced this pull request Nov 8, 2024
Closes #268.

SuperDiff already skips diff output for incomparable types, such as `true`, `false`, and `nil`. We will now also skip diff output when comparing the following types (for which we can't produce a meaningful diff):

* `Symbol`
* `Numeric`
* `Regexp`
* `Class`
* `Module`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants