Std.Test.filtered
1 declaration
fn
filtered: &Std.Test.Suite -> fn(Str) -> Bool -> Std.Test.SuiteThis is a callable function.
What it does
Only the checks whose name the test accepts, through the whole tree.
Focusing is a function over a suite here rather than a mark on a check,
because a suite is a value: a caller filters the one they have and runs the
result. Nothing is hidden in the suite that a reader of it cannot see.
Read the signature
- The text after the name is the type checked by Pudu.
- Read arrows from left to right: inputs come first, and the final type is returned.
- & borrows a value for this call instead of moving or copying it.
