Skip to content

Commit 0ab5f4a

Browse files
committed
Update test macro to support async code
1 parent b980725 commit 0ab5f4a

File tree

3 files changed

+173
-143
lines changed

3 files changed

+173
-143
lines changed

src/reader/buffered_reader.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,13 @@ mod test {
426426
input
427427
}
428428

429-
check!(identity, &mut Vec::new());
429+
check!(
430+
#[test]
431+
read_event_impl,
432+
read_until_close,
433+
identity,
434+
&mut Vec::new()
435+
);
430436

431437
#[cfg(feature = "encoding")]
432438
mod encoding {

0 commit comments

Comments
 (0)