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

Fix case of NotBefore() name in comment #1278

Closed

Conversation

thekondor
Copy link

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
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
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