Skip to content

Commit

Permalink
fix dirname in unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
tarunKoyalwar committed Jul 11, 2023
1 parent 79431c6 commit a70ebb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/pkg/external/customtemplates/github_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ func TestDownloadCustomTemplatesFromGitHub(t *testing.T) {

ctm.Download(context.Background())

require.DirExists(t, filepath.Join(templatesDirectory, "github", "nuclei-templates"), "cloned directory does not exists")
require.DirExists(t, filepath.Join(templatesDirectory, "github", "nuclei-templates-projectdiscovery"), "cloned directory does not exists")
require.DirExists(t, filepath.Join(templatesDirectory, "github", "nuclei-templates-ehsandeep"), "cloned directory does not exists")
}

0 comments on commit a70ebb3

Please sign in to comment.