How to associate `_test.go` with `Golang` icon
See original GitHub issueI’ve changed the icons for javascript test files like so:
I would like to do the same for golang. However, the extension gets confused because _test.go
is not really a file extension.
Following code shows what my settings.json config looks like now:
"vsicons.associations.files": [
{ "icon": "asciidoc", "extensions": ["test.js"], "format": "svg", "extends":"testjs" },
{ "icon": "asciidoc", "extensions": ["_test.go"], "format": "svg", "extends":"go" },
],
Thanks, Ioan
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
How To Write Unit Tests in Go - DigitalOcean
In this step, you will write your first test in Go. Writing tests in Go requires a test file link, and this test...
Read more >Testing in Go by example: Part 2 - SmartyStreets
You've already learned how to execute tests in Go for a single package. $ go test. There's a bit more to it, though....
Read more >Using the Testify Go module for Unit Tests in Golang - JFrog
Learn about using Testify to write unit tests in Golang that are easy to read and maintain. We'll show some best practices for...
Read more >testing - Go Packages
Package testing provides support for automated testing of Go packages. It is intended to be used in concert with the "go test" command,...
Read more >Get started with Go testing | InfoWorld
Modern programming languages include native tools for building and running unit tests on code bases. The Go language has its own such ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closing as resolved.
Those two attributes are used in combination to produce multiple file extensions. Again, it’s not the
glob
you think it is.