mirror of
https://github.com/mgechev/revive.git
synced 2025-11-23 22:04:49 +02:00
refactor: rename files to follow Go convention
This commit is contained in:
committed by
chavacava
parent
c0d4d07ab6
commit
be95bfa705
12
testdata/var_naming_test.go
vendored
Normal file
12
testdata/var_naming_test.go
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
// Test for name linting.
|
||||
|
||||
// Package pkg_with_underscores ...
|
||||
package varnaming_test
|
||||
|
||||
var var_name int // MATCH /don't use underscores in Go names; var var_name should be varName/
|
||||
|
||||
func Test_ATest() {}
|
||||
func Example_AnExample() {}
|
||||
func Benchmark_ABenchmark() {}
|
||||
|
||||
func Fuzz_AFuzz() {}
|
||||
Reference in New Issue
Block a user