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 e389fc5 commit fdbf4f7Copy full SHA for fdbf4f7
dump.go
@@ -97,7 +97,7 @@ func (d *dumpState) writeString(s string) {
97
case 4:
98
d.write(uint32(size))
99
default:
100
- panic(fmt.Sprintf("unsupported pointer size (%d)"))
+ panic(fmt.Sprintf("unsupported pointer size (%d)", header.PointerSize))
101
}
102
if size > 0 {
103
d.write(ba)
go_test.go
@@ -29,7 +29,7 @@ func TestIsControl(t *testing.T) {
29
for i := 0; i < 256; i++ {
30
control := i < 0x20 || i == 0x7f
31
if lib := unicode.Is(unicode.Cc, rune(i)); control != lib {
32
- t.Errorf("%x: is control? %s", i, lib)
+ t.Errorf("%x: is control? %s", i, strconv.FormatBool(lib))
33
34
35
0 commit comments