mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 17:56:45 +08:00
Support 32 bit floats
This commit is contained in:
@ -31,10 +31,11 @@ func TestVariableEvaluation(t *testing.T) {
|
||||
{"baz", "bazburzum", "struct string"},
|
||||
{"neg", "-1", "int"},
|
||||
{"i8", "1", "int8"},
|
||||
{"f32", "1.2", "float32"},
|
||||
}
|
||||
|
||||
helper.WithTestProcess(executablePath, t, func(p *proctl.DebuggedProcess) {
|
||||
pc, _, _ := p.GoSymTable.LineToPC(fp, 23)
|
||||
pc, _, _ := p.GoSymTable.LineToPC(fp, 24)
|
||||
|
||||
_, err := p.Break(uintptr(pc))
|
||||
assertNoError(err, t, "Break() returned an error")
|
||||
|
||||
Reference in New Issue
Block a user