This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
Generate test function from a test file results in error opening file #2822
Closed
Description
openedon Oct 9, 2019
Steps to Reproduce:
- create a test file like
xxx_test.go
- move cursor to a function name(not a function prefixed with Test) and generate a test function, a error message then appears in the corner
What impressed me is that the desired test function is appended to file, without overwriting the current content.
Is there any way to remove the error message? Every time I generate a test function, it will appear.
Though it may be uncommon to do it, but it's useful sometimes, would you mind supporting it?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment