Format the bus tools' new test (issue 1966)
Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user