From 7950187cb7a5d57f47d437096ebc7d179d191662 Mon Sep 17 00:00:00 2001 From: shy Date: Tue, 20 Apr 2021 21:53:25 +0200 Subject: [PATCH] Fixed test function. --- src/tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests.rs b/src/tests.rs index bf666c4..764d5c0 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -17,13 +17,13 @@ use crate::clock::{Clock, font}; use crate::layout::Layout; -use crate::Config; +use crate::{Config, Cradle}; fn default_config() -> Config { Config { fancy: false, quit: false, - command: None, + commands: Cradle::new(), font: &font::NORMAL, } }