Skip to content

Commit a8ce9c2

Browse files
committed
fix: Broken doctest and test in CI
1 parent f300e8f commit a8ce9c2

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,6 @@ jobs:
5555
run: cargo build --all-targets --all-features
5656

5757
- name: Run tests
58-
run: cargo test --all-features
58+
run: |
59+
cargo test --all-features
60+
cargo test --all-features --doc

rust/acp.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ use std::sync::Arc;
8484
/// # Example
8585
///
8686
/// ```
87-
/// use agent_client_protocol::SessionId;
87+
/// use agent_client_protocol_schema::SessionId;
8888
/// use std::sync::Arc;
8989
///
90-
/// let session_id = SessionId(Arc::from("sess_abc123def456"));
90+
/// let session_id = SessionId::new("sess_abc123def456");
9191
/// ```
9292
///
9393
/// See protocol docs: [Session ID](https://agentclientprotocol.com/protocol/session-setup#session-id)

0 commit comments

Comments
 (0)