Skip to content

Commit bca5dc4

Browse files
authored
docs: use starts instead of dashes in panic list
1 parent 12aab40 commit bca5dc4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/test_utils/macros.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@ macro_rules! assert_next {
6666
///
6767
/// # Panics
6868
///
69-
/// - **Timeout**: The stream doesn't produce the next expected event within the timeout period
69+
/// * **Timeout**: The stream doesn't produce the next expected event within the timeout period
7070
/// (default 5 seconds, configurable via `timeout = N` parameter).
71-
/// - **Wrong event**: The stream emits a different event than the next expected one in the
71+
/// * **Wrong event**: The stream emits a different event than the next expected one in the
7272
/// sequence.
73-
/// - **Extra events**: The stream emits more events than expected after the sequence completes.
74-
/// - **Stream closed early**: The stream ends before all expected events are emitted.
75-
/// - **Wrong message type**: The stream yields a non-`Data` message (e.g., `Error` or `Status`)
73+
/// * **Extra events**: The stream emits more events than expected after the sequence completes.
74+
/// * **Stream closed early**: The stream ends before all expected events are emitted.
75+
/// * **Wrong message type**: The stream yields a non-`Data` message (e.g., `Error` or `Status`)
7676
/// when an event is expected.
77-
/// - **Empty sequence**: The macro is called with an empty event collection (use `assert_empty!`
77+
/// * **Empty sequence**: The macro is called with an empty event collection (use `assert_empty!`
7878
/// instead).
7979
///
8080
/// On panic, the error message includes the remaining expected events for debugging.

0 commit comments

Comments
 (0)