Skip to content

Commit

Permalink
rename 'checkes' => 'assertions'
Browse files Browse the repository at this point in the history
  • Loading branch information
nunnatsa committed Jul 10, 2022
1 parent f1842d4 commit 83055b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ginkgo_linter.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ import (
var Analyzer = &analysis.Analyzer{
Name: "ginkgolinter",
Doc: `enforces standards of using ginkgo and gomega
currently, the linter searches for wrong length checks; e.g.
currently, the linter searches for wrong length assertions. We want to assert the item rather than its length.
For example:
Expect(len(x).Should(Equal(1))
This should be replaced with:
Expect(x).Should(HavelLen(1)`,
Expand Down

0 comments on commit 83055b0

Please sign in to comment.