Skip to content

Commit 2077109

Browse files
committed
rustfmt
1 parent 9876735 commit 2077109

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tokio/tests/macros_test.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,16 @@ use tokio::test;
44
async fn test_macro_can_be_used_via_use() {
55
tokio::spawn(async {
66
assert_eq!(1 + 1, 2);
7-
}).await.unwrap();
7+
})
8+
.await
9+
.unwrap();
810
}
911

1012
#[tokio::test]
1113
async fn test_macro_is_resilient_to_shadowing() {
1214
tokio::spawn(async {
1315
assert_eq!(1 + 1, 2);
14-
}).await.unwrap();
16+
})
17+
.await
18+
.unwrap();
1519
}

0 commit comments

Comments
 (0)