yew/packages/yew-macro/tests/classes_macro_test.rs
Muhammad Hamza 991abab7e1
Update Rust version for macro tests to 1.51 & enable const generics tests (#1801)
* update rust version for macro test to 1.51

* enable const generic tests

* run integration tests using MSRV

* am blind

* clippy, fmt

* apply suggestion
2021-03-30 22:35:21 +02:00

8 lines
222 B
Rust

#[allow(dead_code)]
#[rustversion::attr(stable(1.51), test)]
fn classes_macro() {
let t = trybuild::TestCases::new();
t.pass("tests/classes_macro/*-pass.rs");
t.compile_fail("tests/classes_macro/*-fail.rs");
}