mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 05:04:22 +01:00
Add commit date to leaks
This commit is contained in:
1 parent
03c53d2978
commit
23b5ce3264
2 files changed
+17
-11
No files matched your search
@@ -8,6 +8,7 @@ import (
|
||||
"regexp"
|
||||
"strings"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/franela/goblin"
|
||||
git "gopkg.in/src-d/go-git.v4"
|
||||
@@ -368,6 +369,7 @@ func TestWriteReport(t *testing.T) {
|
||||
Author: "some",
|
||||
File: "sleep",
|
||||
Branch: "thxu",
|
||||
Date: time.Now(),
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user