-
Notifications
You must be signed in to change notification settings - Fork 40
Access test case name from test case body #37
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestspikeNeed to research topic more to come up with a solutionNeed to research topic more to come up with a solution
Description
Example code
#[test_case(vec![(1,1),(2,2),(3,3)].iter().collect(), vec![(1,1),(2,2),(3,3)].iter().collect() ; "test")]
fn get_changes_values<
'a,
'b,
K: Eq + Ord + Clone + fmt::Debug,
V: Eq + fmt::Debug,
>(
old: &'b BTreeMap<&'a K, V>,
new: &'b BTreeMap<&'a K, V>,
) {
let changes = super::get_changes_values(old, new);
// test_case => "test"
assert_debug_snapshot(test_case, changes);
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestspikeNeed to research topic more to come up with a solutionNeed to research topic more to come up with a solution