]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/custom_test_frameworks/auxiliary/example_runner.rs
2 fn name(&self) -> String
;
3 fn run(&self) -> Option
<String
>; // None will be success, Some is the error message
6 pub fn runner(tests
: &[&dyn Testable
]) {
8 print
!("{}........{}", t
.name(), t
.run().unwrap_or_else(|| "SUCCESS".to_string()));