mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 21:24:21 +01:00
Code cleanup and badges
This commit is contained in:
1 parent
cf4c157141
commit
a9c5d5a953
6 files changed
+32
-31
No files matched your search
+4
-4
@@ -3,9 +3,9 @@ package main
|
||||
import "testing"
|
||||
|
||||
func TestGetLocalRepoName(t *testing.T) {
|
||||
cases := []struct{
|
||||
name string
|
||||
input string
|
||||
cases := []struct {
|
||||
name string
|
||||
input string
|
||||
expected string
|
||||
}{
|
||||
{
|
||||
@@ -51,4 +51,4 @@ func TestGetLocalRepoName(t *testing.T) {
|
||||
t.Errorf("'%s' failed. Input: '%s'; Expected: '%s'; Got: '%s'", c.input, c.name, c.expected, actual)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user