Skip to content

Commit

Permalink
fix linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
asmyasnikov committed Feb 4, 2025
1 parent 73b7ff3 commit 4bf75c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ func driverEngine(db *sql.DB) (engine xsql.Engine) {
func simpleDetectGoroutineLeak(t *testing.T) {
// 1) testing.go => main.main()
// 2) current test
var expectedGoroutinesCount = 2
const expectedGoroutinesCount = 2
if num := runtime.NumGoroutine(); num > expectedGoroutinesCount {
bb := make([]byte, 2<<32)
if n := runtime.Stack(bb, true); n < len(bb) {
Expand Down

0 comments on commit 4bf75c2

Please sign in to comment.