fix clippy lint

This commit is contained in:
Abraham Toriz 2022-07-21 22:04:25 +08:00
parent a4db0792ba
commit b7c26b612e
No known key found for this signature in database
GPG Key ID: D5B4A746DB5DD42A
1 changed files with 4 additions and 2 deletions

View File

@ -235,8 +235,10 @@ enter number or q to cancel
/// they are ordered by start date descending
#[test]
fn list_is_limited_to_n() {
let mut config: Config = Default::default();
config.interactive_entries = 4;
let config = Config {
interactive_entries: 4,
..Default::default()
};
let mut streams = Streams::fake(b"1\n");
let facts = Facts::new().with_config(config);