Skip to content

Commit

Permalink
Fix roundtrip test macros documentation
Browse files Browse the repository at this point in the history
Usage examples had wrong syntax

Signed-off-by: Ross Williams <[email protected]>
  • Loading branch information
overhacked committed May 12, 2024
1 parent 4486f89 commit 3200b8d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/roundtrip/expected/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
//! ```ignore
//! use ssh_agent_lib::proto::Request;
//!
//! make_expected_fn!(get_expected_request, Request, {
//! make_expected_fn!(get_expected_request -> Request, {
//! req_hello
//! });
//! ```
Expand All @@ -28,8 +28,9 @@
//!
//! ```ignore
//! let test_data_path = PathBuf::from("test/messages/req-hello.bin");
//! let expected = path::to::get_expected_request(&test_data_path);
//! assert_eq!(expected, ...);
//! if let Some(expected) = path::to::get_expected_request(&test_data_path) {
//! assert_eq!(expected, ...);
//! }
//! ```
//!
//! ## `path/to/req_hello.rs` ##
Expand Down

0 comments on commit 3200b8d

Please sign in to comment.