use std::fs; use std::path::Path; use std::process::{Command, Stdio}; #[cfg(test)] mod tests { use super::*; #[test] fn check_edge_cases() { let t = trybuild::TestCases::new(); t.compile_fail("tests/templates/multiple_constructors.rs"); t.compile_fail("tests/templates/no_contract.rs"); t.compile_fail("tests/templates/no_constructor.rs"); } }