File: ruma_api.rs

package info (click to toggle)
rust-ruma-common 0.10.5-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,208 kB
  • sloc: makefile: 2
file content (13 lines) | stat: -rw-r--r-- 558 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#[test]
fn ui() {
    let t = trybuild::TestCases::new();
    t.pass("tests/api/ui/01-api-sanity-check.rs");
    t.compile_fail("tests/api/ui/02-invalid-path.rs");
    t.pass("tests/api/ui/03-move-value.rs");
    t.compile_fail("tests/api/ui/04-attributes.rs");
    t.pass("tests/api/ui/05-request-only.rs");
    t.pass("tests/api/ui/06-response-only.rs");
    t.compile_fail("tests/api/ui/07-error-type-attribute.rs");
    t.compile_fail("tests/api/ui/08-deprecated-without-added.rs");
    t.compile_fail("tests/api/ui/09-removed-without-deprecated.rs");
}