@ -24,3 +24,13 @@ fn format_time(time: DateTime<Local>, formatting: &str) -> String {
_ => time.format("%T").to_string(),
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_time() {
assert_eq!(Time.execute(&mut BuiltinConfig::new(), vec![]), Ok(()))