mirror of
https://github.com/actix/actix-web.git
synced 2024-11-29 04:51:13 +00:00
Only run UI tests on MSRV (#2232)
This commit is contained in:
parent
b1de196509
commit
4598a7c0cc
1 changed files with 1 additions and 8 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
#[rustversion::stable(1.46)] // MSRV
|
||||||
#[test]
|
#[test]
|
||||||
fn compile_macros() {
|
fn compile_macros() {
|
||||||
let t = trybuild::TestCases::new();
|
let t = trybuild::TestCases::new();
|
||||||
|
@ -12,11 +13,3 @@ fn compile_macros() {
|
||||||
|
|
||||||
t.pass("tests/trybuild/docstring-ok.rs");
|
t.pass("tests/trybuild/docstring-ok.rs");
|
||||||
}
|
}
|
||||||
|
|
||||||
// #[rustversion::not(nightly)]
|
|
||||||
// fn skip_on_nightly(t: &trybuild::TestCases) {
|
|
||||||
//
|
|
||||||
// }
|
|
||||||
|
|
||||||
// #[rustversion::nightly]
|
|
||||||
// fn skip_on_nightly(_t: &trybuild::TestCases) {}
|
|
||||||
|
|
Loading…
Reference in a new issue