extern crate rox; use std::path::PathBuf; fn run_functions_compilation() -> std::io::Result<()> { rox::run_file(PathBuf::from("tests/fixtures/functions.rox")) } #[test] fn it_compiles_functions() { let result = run_functions_compilation(); assert!(result.is_ok()); }