1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-23 20:51:06 +01:00
actix-net/actix-macros
Ruben De Smet aae52a80ab Forward actix_rt::test arguments to test function.
Previously,

```rust
async fn foo(_a: u32) {}
```

would compile to

```rust
fn foo() {/* something */}
```

This patches changes this behaviour to

```rust
fn foo(_a: u32) {/* something */}
```

by simply forwarding the input arguments.

This allows any test fixture library (e.g. `rstest`, cfr.
https://github.com/la10736/rstest/issues/85) to integrate with
actix::test.
2020-04-08 16:48:10 +02:00
..
src Forward actix_rt::test arguments to test function. 2020-04-08 16:48:10 +02:00
Cargo.toml Unpin quote version 2020-03-06 13:45:21 +09:00
LICENSE-APACHE add license files to actix-macros 2019-12-14 23:01:55 +06:00
LICENSE-MIT add license files to actix-macros 2019-12-14 23:01:55 +06:00