We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73b7ff3 commit 4bf75c2Copy full SHA for 4bf75c2
tests/integration/helpers_test.go
@@ -473,7 +473,7 @@ func driverEngine(db *sql.DB) (engine xsql.Engine) {
473
func simpleDetectGoroutineLeak(t *testing.T) {
474
// 1) testing.go => main.main()
475
// 2) current test
476
- var expectedGoroutinesCount = 2
+ const expectedGoroutinesCount = 2
477
if num := runtime.NumGoroutine(); num > expectedGoroutinesCount {
478
bb := make([]byte, 2<<32)
479
if n := runtime.Stack(bb, true); n < len(bb) {
0 commit comments