Skip to content

Commit

Permalink
Fix check for empty string (#116)
Browse files Browse the repository at this point in the history
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
  • Loading branch information
deepsource-autofix[bot] authored Aug 10, 2022
1 parent a1638a0 commit 7605ba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lorem_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func TestTextNotEmpty(t *testing.T) {
l := New().Lorem()
for i := 1; i < 255; i++ {
text := l.Text(i)
Expect(t, true, len(text) != 0)
Expect(t, true, text != "")
}
}

Expand Down

0 comments on commit 7605ba2

Please sign in to comment.