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