pub(crate) fn make_test(
s: &str,
crate_name: Option<&str>,
dont_insert_main: bool,
opts: &GlobalTestOptions,
edition: Edition,
test_id: Option<&str>
) -> (String, usize, bool)
Expand description
Transforms a test into code that can be compiled into a Rust binary, and returns the number of lines before the test code begins as well as if the output stream supports colors or not.