#![ cfg( all( feature = "output_passthrough", not( feature = "string_split" ) ) ) ]
use cli_fmt::output::*;
#[ test ]
fn feature_flag_line_filtering_passthrough()
{
let input = "line1\nline2\nline3";
let config = OutputConfig::default().with_head( 2 );
let result = process_output( input, "", &config );
assert_eq!
(
result.content,
input,
"FT-41: passthrough returns content unchanged when string_split absent"
);
assert_eq!
(
result.lines_omitted,
0,
"FT-41: passthrough reports zero lines omitted when string_split absent"
);
}