Add expression fill mode variant for filling with underscore expressions

This commit is contained in:
Lukas Wirth 2025-04-28 10:39:36 +02:00
parent 8fb2dcc947
commit 7e526b6be7
31 changed files with 172 additions and 125 deletions

View file

@ -40,7 +40,7 @@ impl LoggerDb {
/// it is meant to be run from outside any tracked functions.
pub(crate) fn assert_logs(&self, expected: expect_test::Expect) {
let logs = std::mem::take(&mut *self.logger.logs.lock().unwrap());
expected.assert_eq(&format!("{:#?}", logs));
expected.assert_eq(&format!("{logs:#?}"));
}
}