Skip to content

Commit 2eeb012

Browse files
committed
Update test macro to support async code
1 parent fdbdfc1 commit 2eeb012

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)