Format the bus tools' new test (issue 1966)

Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
This commit is contained in:
2026-11-09 21:14:00 +01:00
parent 13dea6b1aa
commit a4e5a8ffef
+3 -1
View File
@@ -106,7 +106,9 @@ func TestMessagesScanBackAcrossBlocksAndSayAnUnansweredRead(t *testing.T) {
func TestTheReadToolsAreServedAndRefuseBadArguments(t *testing.T) {
ts := readTools(func() ([]byte, error) { return []byte(consumerJsz), nil },
func(context.Context) (MsgGet, func(), error) { return fake(map[uint64]string{50: "a.b"}, nil), func() {}, nil })
func(context.Context) (MsgGet, func(), error) {
return fake(map[uint64]string{50: "a.b"}, nil), func() {}, nil
})
by := map[string]func(map[string]any) (any, error){}
for _, tl := range ts {
by[tl.Name] = tl.Run