#[cfg(not(windows))]
const UI_DIR: &str = "tests/ui";
#[cfg(windows)]
const UI_DIR: &str = "tests/ui/windows";
#[test]
fn test_file_not_found() {
let t = trybuild::TestCases::new();
t.compile_fail(format!("{UI_DIR}/file_not_found.rs"));
}
#[test]
fn test_invalid_toml() {
let t = trybuild::TestCases::new();
t.compile_fail(format!("{UI_DIR}/invalid_toml.rs"));
}
#[test]
fn test_invalid_toml_embedded() {
let t = trybuild::TestCases::new();
t.compile_fail(format!("{UI_DIR}/invalid_toml_embedded.rs"));
}