Skip to content

Commit

Permalink
addtional unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
boyter committed Dec 15, 2021
1 parent 08974a2 commit f0fa7a5
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 13 deletions.
26 changes: 13 additions & 13 deletions SCC-OUTPUT-REPORT.html
Expand Up @@ -12,12 +12,12 @@
<tbody><tr>
<th>Go</th>
<th>36</th>
<th>8888</th>
<th>1428</th>
<th>8899</th>
<th>1431</th>
<th>422</th>
<th>7038</th>
<th>1417</th>
<th>351833</th>
<th>7046</th>
<th>1419</th>
<th>352051</th>
</tr><tr>
<th>Java</th>
<th>24</th>
Expand Down Expand Up @@ -381,12 +381,12 @@
</tr><tr>
<th>HTML</th>
<th>1</th>
<th>635</th>
<th>617</th>
<th>0</th>
<th>0</th>
<th>635</th>
<th>617</th>
<th>0</th>
<th>9251</th>
<th>9000</th>
</tr><tr>
<th>JSON</th>
<th>1</th>
Expand Down Expand Up @@ -607,11 +607,11 @@
<tfoot><tr>
<th>Total</th>
<th>176</th>
<th>26734</th>
<th>3025</th>
<th>26727</th>
<th>3028</th>
<th>1758</th>
<th>21951</th>
<th>2401</th>
<th>1808723</th>
<th>21941</th>
<th>2403</th>
<th>1808690</th>
</tr></tfoot>
</table></body></html>
11 changes: 11 additions & 0 deletions processor/processor_test.go
Expand Up @@ -19,6 +19,17 @@ func TestProcessConstants(t *testing.T) {
}
}

func TestProcessConstantsPathExclude(t *testing.T) {
PathDenyList = []string{"testing/"}
ProcessConstants()

if PathDenyList[0] != "testing" {
t.Error("expected / to be trimmed")
}

PathDenyList = []string{}
}

func TestConfigureGc(t *testing.T) {
ConfigureGc()
}
Expand Down

0 comments on commit f0fa7a5

Please sign in to comment.