Skip to content

Conversation

jas14
Copy link
Collaborator

@jas14 jas14 commented Sep 22, 2024

String is considered a primitive for the purposes of inspection, but was excluded from the SuperDiff.primitive? helper in order to support custom multiline and single-line strings in that area of the codebase.

A simpler way of achieving the same result is to consider String to be a primitive everywhere, and give the custom string equality matchers higher precedence than the primitive equality matcher.

@jas14 jas14 enabled auto-merge (squash) September 22, 2024 21:40
@jas14 jas14 merged commit f864fb5 into main Sep 22, 2024
31 checks passed
@jas14 jas14 deleted the string-primitive branch September 22, 2024 21:43
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