Skip to content

Commit

Permalink
converting dsl tests to new struct (#4003)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mzack9999 authored Jul 28, 2023
1 parent 3894d46 commit d83c2dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions v2/cmd/integration-test/dsl.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}
Expand Down

0 comments on commit d83c2dd

Please sign in to comment.