Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (15 sloc) 425 Bytes
#[macro_export]
macro_rules! describe {
($description:expr, $block:expr) => {
describe($description, source_location!(), $block)
};
($eg:expr, $description:expr, $block:expr) => {
$eg.describe($description, source_location!(), $block)
};
}
#[macro_export]
macro_rules! it {
($eg:expr, $description:expr, $block:expr) => {
$eg.it($description, source_location!(), $block)
}
}
You can’t perform that action at this time.