mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 13:14:22 +01:00
working on readme
This commit is contained in:
1 parent
2fadf219d9
commit
b6b3e768dc
5 files changed
+39
-96
No files matched your search
@@ -3,7 +3,6 @@ package main
|
||||
import (
|
||||
"testing"
|
||||
"os"
|
||||
"fmt"
|
||||
)
|
||||
|
||||
func TestOwnerPath(t *testing.T) {
|
||||
@@ -18,7 +17,6 @@ func TestOwnerPath(t *testing.T) {
|
||||
}
|
||||
opts.ClonePath = "test"
|
||||
p, err = ownerPath("nameToIgnore")
|
||||
fmt.Println(p)
|
||||
if p != "test" {
|
||||
t.Error()
|
||||
}
|
||||
@@ -34,12 +32,4 @@ func TestNewOwner(t *testing.T) {
|
||||
if pwd != owner.path {
|
||||
t.Error()
|
||||
}
|
||||
|
||||
// fuck on this some more
|
||||
opts.URL = "github.com/testowner/test"
|
||||
owner = newOwner()
|
||||
fmt.Println(owner.path)
|
||||
if owner.path != pwd + "/testowner" {
|
||||
t.Error()
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user