Macro cargo_test_support::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"));
macro_rules! t { ($e:expr) => { ... }; }
Unwrap a Result
with a useful panic message
use cargo_test_support::t;
t!(std::fs::read_to_string("Cargo.toml"));