Skip to content

Commit

Permalink
chore: setup ginkgo linter (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
plastikfan committed Aug 11, 2023
1 parent 1a0acc7 commit aacc8ca
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ linters:
- errcheck
- exportloopref
- exhaustive
- ginkgolinter
- goconst
- gocritic
- gofmt
Expand Down
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"exportloopref",
"extendio",
"fieldalignment",
"ginkgolinter",
"gobby",
"goconst",
"gocritic",
Expand Down
4 changes: 4 additions & 0 deletions async/worker-pool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@ var _ = Describe("WorkerPool", func() {
})

Context("and: Cancelled", func() {
It("should test something", func() { // It is ginkgo test case function
Expect(audience).To(HaveLen(14))
})

It("🧪 should: handle cancellation and shutdown cleanly", func(_ SpecContext) {

})
Expand Down

0 comments on commit aacc8ca

Please sign in to comment.