Skip to content

Commit a0dfb34

Browse files
committed
Malicious code scanner
1 parent 629efe7 commit a0dfb34

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

maliciousscan_test.go

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -58,36 +58,12 @@ func TestMaliciousScan(t *testing.T) {
5858
projectPath: filepath.Join("projects", "jas", "jas", "malicious"),
5959
expectedIssues: 1,
6060
},
61-
{
62-
name: "Malicious scan with findings (Table)",
63-
format: format.Table,
64-
projectPath: filepath.Join("projects", "jas", "jas", "malicious"),
65-
expectedIssues: 1,
66-
},
67-
{
68-
name: "Malicious scan with findings (SARIF)",
69-
format: format.Sarif,
70-
projectPath: filepath.Join("projects", "jas", "jas", "malicious"),
71-
expectedIssues: 1,
72-
},
7361
{
7462
name: "Malicious scan without findings (Simple JSON)",
7563
format: format.SimpleJson,
7664
projectPath: filepath.Join("projects", "empty_project", "python_project_with_no_deps"),
7765
expectedIssues: 0,
7866
},
79-
{
80-
name: "Malicious scan without findings (Table)",
81-
format: format.Table,
82-
projectPath: filepath.Join("projects", "empty_project", "python_project_with_no_deps"),
83-
expectedIssues: 0,
84-
},
85-
{
86-
name: "Malicious scan without findings (SARIF)",
87-
format: format.Sarif,
88-
projectPath: filepath.Join("projects", "empty_project", "python_project_with_no_deps"),
89-
expectedIssues: 0,
90-
},
9167
}
9268
for _, tc := range testCases {
9369
t.Run(tc.name, func(t *testing.T) {

0 commit comments

Comments
 (0)