Stop words (#808)

* use regex for stopwords

* fix up regex

* rm stopwords
This commit is contained in:
Zachary Rice authored and GitHub committed 2022-03-19 09:31:38 -05:00
1 parent 6e72472b60
commit 57f9bc83d1
5 files changed
+60 -7

No files matched your search

+8
View File
@@ -185,6 +185,14 @@ func TestDetect(t *testing.T) {
},
expectedFindings: []report.Finding{},
},
{
cfgName: "generic_with_py_path",
fragment: Fragment{
Raw: `const Discord_Public_Key = "load2523fb86ed64c836a979cf8465fbd436378c653c1db38f9ae87bc62a6fd5"`,
FilePath: "tmp.py",
},
expectedFindings: []report.Finding{},
},
}
for _, tt := range tests {