(t *testing.T)
| 85 | } |
| 86 | |
| 87 | func TestRulesLoader_EmptyDir(t *testing.T) { |
| 88 | rl := NewRulesLoader(t.TempDir(), t.TempDir(), testLogger()) |
| 89 | result := rl.LoadMatchingRules(nil) |
| 90 | if result != "" { |
| 91 | t.Errorf("expected empty result for no rules, got %q", result) |
| 92 | } |
| 93 | } |
| 94 | |
| 95 | func TestMatchesAnyPath(t *testing.T) { |
| 96 | tests := []struct { |
nothing calls this directly
no test coverage detected