mirror of
https://github.com/leptos-rs/leptos.git
synced 2025-12-27 09:54:41 -05:00
* fix: properly feature gating ui macro tests (Closes #3742) * fix: wrongly gated main in test and added more gates * docs: formatting
11 lines
358 B
Rust
11 lines
358 B
Rust
#[cfg(not(feature = "__internal_erase_components"))]
|
|
#[test]
|
|
fn ui() {
|
|
let t = trybuild::TestCases::new();
|
|
#[cfg(all(feature = "nightly", rustc_nightly))]
|
|
t.compile_fail("tests/ui/component.rs");
|
|
#[cfg(all(feature = "nightly", rustc_nightly))]
|
|
t.compile_fail("tests/ui/component_absolute.rs");
|
|
t.compile_fail("tests/ui/server.rs");
|
|
}
|