Skip to content

Commit 4bf75c2

Browse files
committed
fix linter issue
1 parent 73b7ff3 commit 4bf75c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/helpers_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ func driverEngine(db *sql.DB) (engine xsql.Engine) {
473473
func simpleDetectGoroutineLeak(t *testing.T) {
474474
// 1) testing.go => main.main()
475475
// 2) current test
476-
var expectedGoroutinesCount = 2
476+
const expectedGoroutinesCount = 2
477477
if num := runtime.NumGoroutine(); num > expectedGoroutinesCount {
478478
bb := make([]byte, 2<<32)
479479
if n := runtime.Stack(bb, true); n < len(bb) {

0 commit comments

Comments
 (0)