nunnatsa / ginkgolinter

golang linter for ginkgo and gomega
MIT License
24 stars 6 forks source link

Support the WithOffset method #71

Closed nunnatsa closed 1 year ago

nunnatsa commented 1 year ago

The linter used to ignore patterns like Expect(len(x)).WithOffset(1).Should(Equal3)). now the linter will catch these patterns as well.

Type of change

How Has This Been Tested?

Checklist:

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 4466542229


Changes Missing Coverage Covered Lines Changed/Added Lines %
gomegahandler/handler.go 2 42 4.76%
<!-- Total: 19 59 32.2% -->
Files with Coverage Reduction New Missed Lines %
ginkgo_linter.go 2 88.42%
<!-- Total: 2 -->
Totals Coverage Status
Change from base Build 4401338548: -4.2%
Covered Lines: 647
Relevant Lines: 784

💛 - Coveralls