cargo_test_support

Function main_file

source
pub fn main_file(println: &str, externed_deps: &[&str]) -> String
Expand description

Generate a main.rs printing the specified text

main_file(
    r#""hello {}", dep::bar()"#,
    &[]
);