all: clean up Go 1.24 specific code. (#850)
This commit is contained in:
parent
48879f01c9
commit
ea161959d7
1 changed files with 696 additions and 1641 deletions
|
|
@ -2,8 +2,6 @@
|
|||
// Use of this source code is governed by an MIT-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
//go:build (go1.24 && goexperiment.synctest) || go1.25
|
||||
|
||||
package mcp
|
||||
|
||||
import (
|
||||
|
|
@ -89,12 +87,9 @@ func TestServerConformance(t *testing.T) {
|
|||
// By comparison, gopls has a complicated framework based on progress
|
||||
// reporting and careful accounting to detect when all 'expected' work
|
||||
// on the server is complete.
|
||||
runSyncTest(t, func(t *testing.T) { runServerTest(t, test) })
|
||||
|
||||
// TODO: in 1.25, use the following instead:
|
||||
// synctest.Test(t, func(t *testing.T) {
|
||||
// runServerTest(t, test)
|
||||
// })
|
||||
synctest.Test(t, func(t *testing.T) {
|
||||
runServerTest(t, test)
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue