working on tests

This commit is contained in:
zricethezav committed 2018-03-01 22:35:13 -06:00
1 parent d85c8d8abd
commit 36c31bf181
6 files changed
+97 -99

No files matched your search

+3 -3
View File
@@ -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()
}