cargo_test_support

Macro t

Source
macro_rules! t {
    ($e:expr) => { ... };
}
Expand description

Unwrap a Result with a useful panic message

ยงExample

use cargo_test_support::t;
t!(std::fs::read_to_string("Cargo.toml"));