1 2 3 4 5 6 7 8 9 10
#[test] #[cfg(feature = "tmux_0_8")] fn activity() { use crate::Activity; assert_eq!(Activity::On.to_string(), "on"); assert_eq!(Activity::Off.to_string(), "off"); #[cfg(feature = "tmux_2_6")] assert_eq!(Activity::Both.to_string(), "both"); }