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

README example is missing a () #2

Closed
pschlump opened this issue Apr 27, 2016 · 1 comment
Closed

README example is missing a () #2

pschlump opened this issue Apr 27, 2016 · 1 comment

Comments

@pschlump
Copy link

Example in README should be

func TestPool(t *testing.T) {
    defer leaktest.Check(t)()

    go func() {
        for {
            time.Sleep(time.Second)
        }
    }()
}

Notice the () after the } at the end of the go function -- Just a typo I am certain.

@fortytw2
Copy link
Owner

fortytw2 commented Apr 27, 2016

whoops, you're right - I totally misread what you said, fixed it

fortytw2 added a commit that referenced this issue Apr 27, 2016
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

No branches or pull requests

2 participants