mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 09:46:56 +08:00
tests: fix tests on Go 1.23 (#3697)
* Adjust rtype.go script to handle constants moved to internal/abi from runtime * Remove tests in service/dap/server_test that relied on knowledge of the internal layout of channels.
This commit is contained in:
committed by
GitHub
parent
d7f104bf9c
commit
2e88b7ead3
@ -1848,9 +1848,7 @@ func TestScopesAndVariablesRequests2(t *testing.T) {
|
||||
if ref > 0 {
|
||||
client.VariablesRequest(ref)
|
||||
ch1 := client.ExpectVariablesResponse(t)
|
||||
checkChildren(t, ch1, "ch1", 11)
|
||||
checkVarExact(t, ch1, 0, "qcount", "ch1.qcount", "4 = 0x4", "uint", noChildren)
|
||||
checkVarRegex(t, ch1, 10, "lock", "ch1.lock", `runtime\.mutex {.*key: 0.*}`, `runtime\.mutex`, hasChildren)
|
||||
validateEvaluateName(t, client, ch1, 0)
|
||||
validateEvaluateName(t, client, ch1, 10)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user