Skip to content

Commit

Permalink
slight increase in coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jemisonf committed Apr 28, 2020
1 parent dd5c633 commit a833813
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/generator/generator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,10 @@ func TestShortSource(t *testing.T) {
if result != "Banny" {
t.Errorf("Got %s instead of \"Banny\"", result)
}
floatSeq = []float64{0.0, 0.0, 0.0, 0.0, 0.0}
mockGenerator = random.NewMock(intSeq, floatSeq)
result = GenerateName(mockGenerator)
if result != "Banny" {
t.Errorf("Got %s instead of \"Banny\"", result)
}
}

0 comments on commit a833813

Please sign in to comment.