Update rules/rules_test.go
test naming convention Co-authored-by: Oleg Lobanov <oleg@lobanov.me>
This commit is contained in:
parent
324113a0fe
commit
b78665b46b
@ -14,7 +14,7 @@ func TestMatchHidden(t *testing.T) {
|
||||
"/Dockerfile": false,
|
||||
}
|
||||
|
||||
for path, truth := range cases {
|
||||
for path, want := range cases {
|
||||
got := MatchHidden(path)
|
||||
if got != truth {
|
||||
t.Errorf("MatchHidden(%s)=%v; want %v", path, got, truth)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user