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

support -count #63

Closed
rski opened this issue Feb 23, 2018 · 1 comment
Closed

support -count #63

rski opened this issue Feb 23, 2018 · 1 comment

Comments

@rski
Copy link

rski commented Feb 23, 2018

I think it would be reasonable to have arg work as count eg

C-10 M-x go-test-current-test

will result in appending -count=10 to the test run command.

This will also work nicely with the go 1.10 caching since the way to override it is to to

go test ./... -count=1

kjgorman added a commit to kjgorman/gotest.el that referenced this issue Mar 18, 2018
Provide a shorthand for passing the -count flag to go test.

For example C-u 1 M-x go-test-current-file will pass -count=1 as the first
argument to `go test`. This is useful because, as of go 1.10, the idiomatic
way to dismiss test caching is to pass -count=1.
nlamirault added a commit that referenced this issue Mar 19, 2018
Resolves #63 - interpret C-u number as count parameter
@rski
Copy link
Author

rski commented Mar 19, 2018

oh cool, I was putting it off repeatedly even though I kinda needed it, thanks @kjgorman

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

1 participant