yew/packages/yew-macro/tests/html_lints_test.rs
Muhammad Hamza 9e0d7966bc
Make Yew lints opt-in (#2882)
* Add compiler flag for Yew lints

* Use --cfg yew_lints in CI

* Remove lints feature

* bless the fail.stderr

* Fix CI
2022-09-25 21:54:24 +09:00

8 lines
187 B
Rust

#[allow(dead_code)]
#[cfg(yew_lints)]
#[rustversion::attr(nightly, test)]
fn test_html_lints() {
let t = trybuild::TestCases::new();
t.compile_fail("tests/html_lints/fail.rs");
}