system2 0.1.0

An (unofficial) idiomatic Rust SDK for TypeSafe's System One model, Jev.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Tests of the compile errors of the macros and the bounds.

#[test]
fn ui_cases_fail_with_their_messages() {
    let cases = trybuild::TestCases::new();
    cases.compile_fail("tests/ui/*.rs");
    cases.pass("tests/ui/pass/*.rs");
    #[cfg(not(feature = "image"))]
    cases.compile_fail("tests/ui/no_image_feature/*.rs");
    #[cfg(feature = "image")]
    cases.compile_fail("tests/ui/image_feature/*.rs");
}