mirror of https://github.com/daffainfo/nuclei.git
converting dsl tests to new struct (#4003)
parent
3894d466ad
commit
d83c2dd8dd
|
@ -9,9 +9,9 @@ import (
|
|||
"github.com/projectdiscovery/nuclei/v2/pkg/testutils"
|
||||
)
|
||||
|
||||
var dslTestcases = map[string]testutils.TestCase{
|
||||
"dsl/hide-version-warning.yaml": &dslVersionWarning{},
|
||||
"dsl/show-version-warning.yaml": &dslShowVersionWarning{},
|
||||
var dslTestcases = []TestCaseInfo{
|
||||
{Path: "dsl/hide-version-warning.yaml", TestCase: &dslVersionWarning{}},
|
||||
{Path: "dsl/show-version-warning.yaml", TestCase: &dslShowVersionWarning{}},
|
||||
}
|
||||
|
||||
type dslVersionWarning struct{}
|
||||
|
|
Loading…
Reference in New Issue