mirror of
https://codeberg.org/JasterV/test-context.git
synced 2026-04-26 18:10:06 +00:00
allow unused assignments
This commit is contained in:
parent
fb4f91a795
commit
2dc4da3ed4
1 changed files with 1 additions and 0 deletions
|
|
@ -130,6 +130,7 @@ async fn test_async_teardown(ctx: &mut AsyncContext) {
|
|||
|
||||
#[test_context(AsyncContext)]
|
||||
#[tokio::test]
|
||||
#[allow(unused_assignments)]
|
||||
#[should_panic(expected = "Number changed")]
|
||||
async fn test_async_panicking_teardown(ctx: &mut AsyncContext) {
|
||||
ctx.n = 2;
|
||||
|
|
|
|||
Loading…
Reference in a new issue