all: fix typos (#3434)
This commit is contained in:
parent
2d3fd35e04
commit
80840dd2bf
@ -765,7 +765,7 @@ This project adheres to Semantic Versioning.
|
||||
- Fix behavior of next/step/stepout in several edge-cases (invalid return addresses, no current goroutine, after process exists, inside unknown code, inside assembly files) (@aarzilli)
|
||||
- Make sure the debugged executable we generated is deleted after exit (@alexbrainman)
|
||||
- Make sure rr trace directories are deleted when we delete the executable and after tests (@aarzilli)
|
||||
- Return errors for commands sent after the target process exited instead of panicing (@derekparker)
|
||||
- Return errors for commands sent after the target process exited instead of panicking (@derekparker)
|
||||
- Fixed typo in clear-checkpoint documentation (@iamzhout)
|
||||
|
||||
### Changed
|
||||
@ -811,7 +811,7 @@ This project adheres to Semantic Versioning.
|
||||
- Windows: Handle delayed events (@aarzilli)
|
||||
- Fix Println call to be Printf (@derekparker)
|
||||
- Fix build on OSX (@koichi)
|
||||
- Mark malformed maps as unreadable instead of panicing (@aarzilli)
|
||||
- Mark malformed maps as unreadable instead of panicking (@aarzilli)
|
||||
- Fixed broken benchmarks (@derekparker)
|
||||
- Improve reliability of certain tests (@aarzilli)
|
||||
|
||||
|
@ -71,7 +71,7 @@ func (a *astruct) Error() string {
|
||||
return "not an error"
|
||||
}
|
||||
|
||||
func (a astruct) NonPointerRecieverMethod() {
|
||||
func (a astruct) NonPointerReceiverMethod() {
|
||||
return
|
||||
}
|
||||
|
||||
@ -398,5 +398,5 @@ func main() {
|
||||
longslice := make([]int, 100, 100)
|
||||
|
||||
runtime.Breakpoint()
|
||||
fmt.Println(i1, i2, i3, p1, pp1, amb1, s1, s3, a0, a1, p2, p3, s2, as1, str1, f1, fn1, fn2, nilslice, nilptr, ch1, chnil, m1, mnil, m2, m3, m4, m5, upnil, up1, i4, i5, i6, err1, err2, errnil, iface1, iface2, ifacenil, arr1, parr, cpx1, const1, iface3, iface4, recursive1, recursive1.x, iface5, iface2fn1, iface2fn2, bencharr, benchparr, mapinf, mainMenu, b, b2, sd, anonstruct1, anonstruct2, anoniface1, anonfunc, mapanonstruct1, ifacearr, efacearr, ni8, ni16, ni32, ni64, pinf, ninf, nan, zsvmap, zsslice, zsvar, tm, rettm, errtypednil, emptyslice, emptymap, byteslice, bytestypeslice, runeslice, bytearray, bytetypearray, runearray, longstr, nilstruct, as2, as2.NonPointerRecieverMethod, s4, iface2map, issue1578, ll, unread, w2, w3, w4, w5, longarr, longslice, val, m6, m7, cl, tim1, tim2, typedstringvar, namedA1, namedA2, astructName1(namedA2), badslice, tim3, int3chan)
|
||||
fmt.Println(i1, i2, i3, p1, pp1, amb1, s1, s3, a0, a1, p2, p3, s2, as1, str1, f1, fn1, fn2, nilslice, nilptr, ch1, chnil, m1, mnil, m2, m3, m4, m5, upnil, up1, i4, i5, i6, err1, err2, errnil, iface1, iface2, ifacenil, arr1, parr, cpx1, const1, iface3, iface4, recursive1, recursive1.x, iface5, iface2fn1, iface2fn2, bencharr, benchparr, mapinf, mainMenu, b, b2, sd, anonstruct1, anonstruct2, anoniface1, anonfunc, mapanonstruct1, ifacearr, efacearr, ni8, ni16, ni32, ni64, pinf, ninf, nan, zsvmap, zsslice, zsvar, tm, rettm, errtypednil, emptyslice, emptymap, byteslice, bytestypeslice, runeslice, bytearray, bytetypearray, runearray, longstr, nilstruct, as2, as2.NonPointerReceiverMethod, s4, iface2map, issue1578, ll, unread, w2, w3, w4, w5, longarr, longslice, val, m6, m7, cl, tim1, tim2, typedstringvar, namedA1, namedA2, astructName1(namedA2), badslice, tim3, int3chan)
|
||||
}
|
||||
|
@ -279,7 +279,7 @@ func FindFileLocation(p Process, filename string, lineno int) ([]uint64, error)
|
||||
return selectedPCs, nil
|
||||
}
|
||||
|
||||
// inlRnage is the range of an inlined call
|
||||
// inlRange is the range of an inlined call
|
||||
type inlRange struct {
|
||||
off dwarf.Offset
|
||||
depth uint32
|
||||
|
@ -372,7 +372,7 @@ func TestBreakpointInSeparateGoRoutine(t *testing.T) {
|
||||
})
|
||||
}
|
||||
|
||||
func TestBreakpointWithNonExistantFunction(t *testing.T) {
|
||||
func TestBreakpointWithNonExistentFunction(t *testing.T) {
|
||||
withTestProcess("testprog", t, func(p *proc.Target, grp *proc.TargetGroup, fixture protest.Fixture) {
|
||||
_, err := p.SetBreakpoint(0, 0, proc.UserBreakpoint, nil)
|
||||
if err == nil {
|
||||
@ -2402,7 +2402,7 @@ func TestIssue561(t *testing.T) {
|
||||
})
|
||||
}
|
||||
|
||||
func TestGoroutineLables(t *testing.T) {
|
||||
func TestGoroutineLabels(t *testing.T) {
|
||||
withTestProcess("goroutineLabels", t, func(p *proc.Target, grp *proc.TargetGroup, fixture protest.Fixture) {
|
||||
assertNoError(grp.Continue(), t, "Continue()")
|
||||
g, err := proc.GetG(p.CurrentThread())
|
||||
|
@ -771,9 +771,9 @@ func getEvalExpressionTestCases() []varTest {
|
||||
{"main.afunc2", true, `main.afunc2`, `main.afunc2`, `func()`, nil},
|
||||
|
||||
{"s2[0].Error", false, "main.(*astruct).Error", "main.(*astruct).Error", "func() string", nil},
|
||||
{"s2[0].NonPointerRecieverMethod", false, "main.astruct.NonPointerRecieverMethod", "main.astruct.NonPointerRecieverMethod", "func()", nil},
|
||||
{"s2[0].NonPointerReceiverMethod", false, "main.astruct.NonPointerReceiverMethod", "main.astruct.NonPointerReceiverMethod", "func()", nil},
|
||||
{"as2.Error", false, "main.(*astruct).Error", "main.(*astruct).Error", "func() string", nil},
|
||||
{"as2.NonPointerRecieverMethod", false, "main.astruct.NonPointerRecieverMethod", "main.astruct.NonPointerRecieverMethod", "func()", nil},
|
||||
{"as2.NonPointerReceiverMethod", false, "main.astruct.NonPointerReceiverMethod", "main.astruct.NonPointerReceiverMethod", "func()", nil},
|
||||
|
||||
{`iface2map.(data)`, false, "…", "…", "map[string]interface {}", nil},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user