mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 20:54:22 +01:00
working on tests
This commit is contained in:
1 parent
d85c8d8abd
commit
36c31bf181
6 files changed
+97
-99
No files matched your search
+3
-3
@@ -76,13 +76,13 @@ func TestParseOptions(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestGithubTarget(t *testing.T) {
|
||||
if !isGithubTarget("github.com"){
|
||||
if !isGithubTarget("github.com") {
|
||||
t.Error()
|
||||
}
|
||||
if !isGithubTarget("https://github.com/"){
|
||||
if !isGithubTarget("https://github.com/") {
|
||||
t.Error()
|
||||
}
|
||||
if !isGithubTarget("git@github.com:zricethezav/gitleaks.git"){
|
||||
if !isGithubTarget("git@github.com:zricethezav/gitleaks.git") {
|
||||
t.Error()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user