Skip to content

Fix case of NotBefore() name in comment#1278

Closed
thekondor wants to merge 1 commit into
stretchr:masterfrom
thekondor:fix-doc/mock-notbefore-comment
Closed

Fix case of NotBefore() name in comment#1278
thekondor wants to merge 1 commit into
stretchr:masterfrom
thekondor:fix-doc/mock-notbefore-comment

Conversation

@thekondor
Copy link
Copy Markdown

Summary

Rocket science based fix to make documentation of using mock.Call.NotBefore() great again.

Changes

Notbefore() -> NotBefore() in doc's comment

Motivation

The typo could make someone frustrated and ruin a day because of possible copy&paste of incorrect code snippet.

Related issues

@dolmen dolmen added documentation pkg-mock Any issues related to Mock labels Oct 16, 2023
Copy link
Copy Markdown
Collaborator

@dolmen dolmen left a comment

Choose a reason for hiding this comment

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

That rocket science fix needs a rocket science rebase because of gofmt changes...

@brackendawson
Copy link
Copy Markdown
Collaborator

#1651 used an up-to-date base so I merged that one in preference. Thank you for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants