This commit is contained in:
Giuseppe Guerra
2023-06-26 17:12:41 +02:00
parent f242e58b13
commit ef462274e3
5 changed files with 21 additions and 14 deletions
@@ -128,7 +128,7 @@ func TestDefaultStaticDetectorsInspector(t *testing.T) {
exp: false,
})
}
inspector := PatternsListInspector{DetectorsProvider: NewDefaultStaticDetectorsProvider()}
inspector := PatternsListInspector{DetectorsProvider: angulardetector.NewDefaultStaticDetectorsProvider()}
for _, tc := range tcs {
t.Run(tc.name, func(t *testing.T) {
isAngular, err := inspector.Inspect(context.Background(), tc.plugin)