Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: clarify note about reverting Countdown function#858

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
yemiwebby wants to merge1 commit intoquii:main
base:main
Choose a base branch
Loading
fromyemiwebby:fix-mocking-chapter-countdown-note

Conversation

@yemiwebby
Copy link

@yemiwebbyyemiwebby commentedApr 22, 2025
edited
Loading

While following the mocking chapter of the book, I ran into a test failure after modifying theCountdown() function as suggested. The issue was that there wasn't an explicit instruction to revert the code snippet to its original, working version afterwards.

This small detail can easily confuse Go beginners who are following along line by line. Although the source code serves as a reference, adding a clear note in the book helps avoid unnecessary confusion and improves the learning experience.

This PR adds that clarification as a note just after the line:

if you run your tests they should still be passing even though the implementation is wrong.

@quii

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@yemiwebby

[8]ページ先頭

©2009-2025 Movatter.jp