#[test]
fn show_options() {
use crate::ShowOptions;
use std::borrow::Cow;
let show_options = ShowOptions::new();
#[cfg(feature = "tmux_3_0a")]
let show_options = show_options.include_inherited();
#[cfg(feature = "tmux_1_5")]
let show_options = show_options.global();
#[cfg(feature = "tmux_3_0a")]
let show_options = show_options.hooks();
#[cfg(feature = "tmux_3_0a")]
let show_options = show_options.pane();
#[cfg(feature = "tmux_1_8")]
let show_options = show_options.quiet();
#[cfg(feature = "tmux_1_5")]
let show_options = show_options.server();
#[cfg(feature = "tmux_1_8")]
let show_options = show_options.value();
#[cfg(feature = "tmux_1_5")]
let show_options = show_options.window();
#[cfg(all(feature = "tmux_0_8", not(feature = "tmux_3_0a")))]
let show_options = show_options.target_session("1");
#[cfg(feature = "tmux_3_0a")]
let show_options = show_options.target_pane("2");
#[cfg(feature = "tmux_0_8")]
let show_options = show_options.option("3");
#[cfg(not(feature = "cmd_alias"))]
let cmd = "show-options";
#[cfg(feature = "cmd_alias")]
let cmd = "show";
let mut v = Vec::new();
v.push(cmd);
#[cfg(feature = "tmux_3_0a")]
v.push("-A");
#[cfg(feature = "tmux_1_5")]
v.push("-g");
#[cfg(feature = "tmux_3_0a")]
v.push("-H");
#[cfg(feature = "tmux_3_0a")]
v.push("-p");
#[cfg(feature = "tmux_1_8")]
v.push("-q");
#[cfg(feature = "tmux_1_5")]
v.push("-s");
#[cfg(feature = "tmux_1_8")]
v.push("-v");
#[cfg(feature = "tmux_1_5")]
v.push("-w");
#[cfg(all(feature = "tmux_0_8", not(feature = "tmux_3_0a")))]
v.extend_from_slice(&["-t", "1"]);
#[cfg(feature = "tmux_3_0a")]
v.extend_from_slice(&["-t", "2"]);
#[cfg(feature = "tmux_0_8")]
v.push("3");
let v: Vec<Cow<str>> = v.into_iter().map(|a| a.into()).collect();
let show_options = show_options.build().to_vec();
assert_eq!(show_options, v);
}