1 2 3 4 5 6 7 8 9
#[test] fn to_string() { use crate::Formats; use crate::Variable; let mut f = Formats::new(); f.push(Variable::WindowActive); assert_eq!(f.to_string(), "#{window_active}") }