Skip to content

Commit 3ad01ce

Browse files
committed
fix: add missing wantMsgID assertions in TestSendMessage
1 parent 0f44c33 commit 3ad01ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

oho/cmd/add/add_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ func TestSendMessage(t *testing.T) {
284284
noReply: false,
285285
mockResp: testutil.MockMessageResponse(),
286286
wantErr: false,
287+
wantMsgID: "msg1",
287288
},
288289
{
289290
name: "success with model specified",
@@ -294,6 +295,7 @@ func TestSendMessage(t *testing.T) {
294295
noReply: false,
295296
mockResp: testutil.MockMessageResponse(),
296297
wantErr: false,
298+
wantMsgID: "msg1",
297299
},
298300
{
299301
name: "no-reply mode returns empty message ID",

0 commit comments

Comments
 (0)