This repository has been archived on 2026-04-29. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
ruwuma/crates/ruma-events/tests/it/event_content.rs
Jonas Platte 31331f3165
Bring back ruma-events
Co-authored-by: Kévin Commaille <zecakeh@tedomum.fr>
2023-08-28 10:23:54 +02:00

11 lines
465 B
Rust

#[test]
fn ui() {
let t = trybuild::TestCases::new();
t.pass("tests/it/ui/01-content-sanity-check.rs");
t.compile_fail("tests/it/ui/02-no-event-type.rs");
t.compile_fail("tests/it/ui/03-invalid-event-type.rs");
t.pass("tests/it/ui/10-content-wildcard.rs");
t.pass("tests/it/ui/11-content-without-relation-sanity-check.rs");
t.compile_fail("tests/it/ui/12-no-relates_to.rs");
t.pass("tests/it/ui/13-private-event-content-type.rs");
}