Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

gives full control on both the Want and Got field formatting #236

Merged
merged 2 commits into from Nov 27, 2019
Merged

gives full control on both the Want and Got field formatting #236

merged 2 commits into from Nov 27, 2019

Conversation

poy
Copy link
Collaborator

@poy poy commented Nov 29, 2018

  • WantFormatter is used to modify a Matcher's String() method.
  • GotFormatter is used to format the Got value for printing a failure message.

This gives full control on both the Want and Got field formatting.

poy and others added 2 commits November 29, 2018 15:35
- WantFormatter is used to modify a Matcher's String() method.
- GotFormatter is used to format the Got value for printing a failure message.

This gives full control on both the Want and Got field formatting.
Copy link
Member

@codyoss codyoss left a comment

Choose a reason for hiding this comment

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

LGTM, thank you for your contribution 🎆

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants