Skip to content

Commit 796fc6c

Browse files
committed
rename CustomServerPayload as CustomNotificationPayload in test
1 parent 2c75249 commit 796fc6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/rmcp/tests/test_notification.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ async fn test_server_notification() -> anyhow::Result<()> {
9696
Ok(())
9797
}
9898

99-
type CustomServerPayload = (String, Option<serde_json::Value>);
99+
type CustomNotificationPayload = (String, Option<serde_json::Value>);
100100

101101
struct CustomServer {
102102
receive_signal: Arc<Notify>,
103-
payload: Arc<Mutex<Option<CustomServerPayload>>>,
103+
payload: Arc<Mutex<Option<CustomNotificationPayload>>>,
104104
}
105105

106106
impl ServerHandler for CustomServer {

0 commit comments

Comments
 (0)