Writes info events to the log that mark a section, e.g.: ========== `msg` goes here ==========
(&self, msg: &str)
| 163 | /// |
| 164 | /// ========== `msg` goes here ========== |
| 165 | pub fn section(&self, msg: &str) { |
| 166 | self.log_sink |
| 167 | .sender |
| 168 | .try_send(LogEvent::Section(msg.to_string())) |
| 169 | .expect( |
| 170 | "The events channel should be unbounded and not closed, so try_send() shouldn't fail", |
| 171 | ); |
| 172 | } |
| 173 | |
| 174 | /// - Let one TestContext send a message |
| 175 | /// - Let the other TestContext receive it and accept the chat |
no outgoing calls
no test coverage detected