Skip to content

Commit fe6773e

Browse files
authored
updated the function names of new pattern tests for detetors n through o (#3691)
1 parent fe2613a commit fe6773e

File tree

38 files changed

+38
-38
lines changed

38 files changed

+38
-38
lines changed

pkg/detectors/nasdaqdatalink/nasdaqdatalink_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var (
1717
keyword = "nasdaqdatalink"
1818
)
1919

20-
func TestZohocrm_Pattern(t *testing.T) {
20+
func TestNasdaqDataLink_Pattern(t *testing.T) {
2121
d := Scanner{}
2222
ahoCorasickCore := ahocorasick.NewAhoCorasickCore([]detectors.Detector{d})
2323
tests := []struct {

pkg/detectors/nethunt/nethunt_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ var (
1919
keyword = "nethunt"
2020
)
2121

22-
func TestZohocrm_Pattern(t *testing.T) {
22+
func TestNethunt_Pattern(t *testing.T) {
2323
d := Scanner{}
2424
ahoCorasickCore := ahocorasick.NewAhoCorasickCore([]detectors.Detector{d})
2525
tests := []struct {

pkg/detectors/netlify/netlify_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var (
1717
keyword = "netlify"
1818
)
1919

20-
func TestZohocrm_Pattern(t *testing.T) {
20+
func TestNetlify_Pattern(t *testing.T) {
2121
d := Scanner{}
2222
ahoCorasickCore := ahocorasick.NewAhoCorasickCore([]detectors.Detector{d})
2323
tests := []struct {

pkg/detectors/netsuite/netsuite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ token - '%s' token - '%s'`
3030
outputPair2 = validConsumerSecret + validConsumerKey
3131
)
3232

33-
func TestZohocrm_Pattern(t *testing.T) {
33+
func TestNetsuite_Pattern(t *testing.T) {
3434
d := Scanner{}
3535
ahoCorasickCore := ahocorasick.NewAhoCorasickCore([]detectors.Detector{d})
3636
tests := []struct {

pkg/detectors/neutrinoapi/neutrinoapi_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ var (
1919
keyword = "neutrinoapi"
2020
)
2121

22-
func TestZohocrm_Pattern(t *testing.T) {
22+
func TestNeutrinoApi_Pattern(t *testing.T) {
2323
d := Scanner{}
2424
ahoCorasickCore := ahocorasick.NewAhoCorasickCore([]detectors.Detector{d})
2525
tests := []struct {

pkg/detectors/newrelicpersonalapikey/newrelicpersonalapikey_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var (
1717
keyword = "newrelicpersonalapikey"
1818
)
1919

20-
func TestZohocrm_Pattern(t *testing.T) {
20+
func TestNewRelicPersonalApiKey_Pattern(t *testing.T) {
2121
d := Scanner{}
2222
ahoCorasickCore := ahocorasick.NewAhoCorasickCore([]detectors.Detector{d})
2323
tests := []struct {

pkg/detectors/newsapi/newsapi_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var (
1717
keyword = "newsapi"
1818
)
1919

20-
func TestZohocrm_Pattern(t *testing.T) {
20+
func TestNewsapi_Pattern(t *testing.T) {
2121
d := Scanner{}
2222
ahoCorasickCore := ahocorasick.NewAhoCorasickCore([]detectors.Detector{d})
2323
tests := []struct {

pkg/detectors/newscatcher/newscatcher_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var (
1717
keyword = "newscatcher"
1818
)
1919

20-
func TestZohocrm_Pattern(t *testing.T) {
20+
func TestNewscatcher_Pattern(t *testing.T) {
2121
d := Scanner{}
2222
ahoCorasickCore := ahocorasick.NewAhoCorasickCore([]detectors.Detector{d})
2323
tests := []struct {

pkg/detectors/nexmoapikey/nexmoapikey_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ var (
1919
keyword = "nexmoapikey"
2020
)
2121

22-
func TestZohocrm_Pattern(t *testing.T) {
22+
func TestNexmoApiKey_Pattern(t *testing.T) {
2323
d := Scanner{}
2424
ahoCorasickCore := ahocorasick.NewAhoCorasickCore([]detectors.Detector{d})
2525
tests := []struct {

pkg/detectors/nftport/nftport_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var (
1717
keyword = "nftport"
1818
)
1919

20-
func TestZohocrm_Pattern(t *testing.T) {
20+
func TestNftport_Pattern(t *testing.T) {
2121
d := Scanner{}
2222
ahoCorasickCore := ahocorasick.NewAhoCorasickCore([]detectors.Detector{d})
2323
tests := []struct {

0 commit comments

Comments
 (0)