Skip to content

Commit 9ea6c94

Browse files
committed
chore(acp-nats-agent): add subject assertion to assert_dispatch_method_not_found helper
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
1 parent 72e0b17 commit 9ea6c94

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

rsworkspace/crates/acp-nats-agent/src/connection.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,6 +1007,7 @@ mod tests {
10071007

10081008
async fn assert_dispatch_method_not_found<T: serde::Serialize>(subject: &str, args: &T) {
10091009
let (nats, _) = dispatch(subject, args, Some("_INBOX.r")).await;
1010+
assert_eq!(nats.published_messages(), vec!["_INBOX.r"]);
10101011
let error: AcpError = published_response(&nats);
10111012
assert_eq!(error.code, ErrorCode::MethodNotFound);
10121013
}

0 commit comments

Comments
 (0)