Skip to content

Commit

Permalink
Increase coverage #13
Browse files Browse the repository at this point in the history
  • Loading branch information
kicdu committed Jul 21, 2017
1 parent 12318c3 commit f1ad798
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions app/tlsh_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,22 @@ func TestMainCompare(t *testing.T) {
Main()
}

func TestMainCompareError(t *testing.T) {
version = false
file = "../tests/test_file_1"
compare = "../tests/NON_EXISTENT"
raw = false
Main()
}

func TestMainHelp(t *testing.T) {
version = false
file = ""
Main()
}

func TestMainEntryPoint(t *testing.T) {
version = false
file = ""
main()
}

0 comments on commit f1ad798

Please sign in to comment.