Skip to content

Commit 04125b3

Browse files
committed
Merge branch 'master' of github.com:async-rs/async-attributes
Signed-off-by: Yoshua Wuyts <[email protected]>
2 parents 25620d6 + 06d8bb9 commit 04125b3

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ pub fn main(_attr: TokenStream, item: TokenStream) -> TokenStream {
107107
/// ```ignore
108108
/// #[async_attributes::test]
109109
/// async fn my_test() -> std::io::Result<()> {
110-
/// assert_eq(2 * 2, 4);
110+
/// assert_eq!(2 * 2, 4);
111111
/// Ok(())
112112
/// }
113113
/// ```

tests/test.rs

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#[async_attributes::test]
2+
async fn test() -> std::io::Result<()> {
3+
assert_eq!(2 * 2, 4);
4+
Ok(())
5+
}

0 commit comments

Comments
 (0)