[][src]Function serial_unit_testing::utils::add_newline

pub fn add_newline(
    text: &mut String,
    text_format: TextFormat,
    newline_format: NewlineFormat
)

Add newline characters to the end of the string.

The newline characters will be added in the given text format.