3 ms·
Why can't he use the automatically differentiated leading underscore test? The go tool currently ignores all files with a leading '_' in the name. Changing the
by BarkMore 13y ago
Why can't he use the automatically differentiated leading underscore test?
The go tool currently ignores all files with a leading '_' in the name. Changing the tool to use a file with the name '_test.go' complicates the rule for ignored files and might break an existing project. The workaround of using 'all_test.go' is not onerous.