aboutsummaryrefslogtreecommitdiff
path: root/mingling/src/example_docs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mingling/src/example_docs.rs')
-rw-r--r--mingling/src/example_docs.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/mingling/src/example_docs.rs b/mingling/src/example_docs.rs
index 7e87d9c..903abf8 100644
--- a/mingling/src/example_docs.rs
+++ b/mingling/src/example_docs.rs
@@ -1841,7 +1841,7 @@ pub mod example_setup {}
/// mod tests {
/// use super::*;
/// use mingling::macros::entry;
-/// use mingling::{assert_member_id, assert_render_result};
+/// use mingling::{assert_member_id, assert_render_result, unpack_chain_process};
///
/// // --------- IMPORTANT ---------
/// #[test]
@@ -1863,6 +1863,8 @@ pub mod example_setup {}
///
/// let hello_with_valid_name = handle_hello(entry!("Peter")).into();
/// assert_render_result!(hello_with_valid_name);
+/// let result_name = unpack_chain_process!(hello_with_valid_name, ResultName);
+/// assert_eq!(result_name.inner, "Peter");
/// }
///
/// #[test]