(&self, msg: &str)
| 18 | } |
| 19 | |
| 20 | pub fn finish(&self, msg: &str) { |
| 21 | if let Some(bar) = &self.bar { |
| 22 | bar.finish_with_message(msg.to_string()); |
| 23 | } else { |
| 24 | println!("▪▪▪▪▪ {msg}"); |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | pub fn set_message(&self, msg: &str) { |
| 29 | if let Some(bar) = &self.bar { |
no outgoing calls
no test coverage detected