Skip to main content

test_of

Function test_of 

Source
pub fn test_of(id: &str, files: &[String]) -> bool
Expand description

Whether test id (as a runner reports it) is one of files: the path itself, or a segment naming the file (us1_count for tests/us1_count.rs, tests.test_x.test_a for tests/test_x.py).