starship/tests/testsuite/line_break.rs

14 lines
282 B
Rust

use std::io;
use crate::common;
#[test]
fn line_break_module() -> io::Result<()> {
let output = common::render_module("line_break").output()?;
let actual = String::from_utf8(output.stdout).unwrap();
let expected = "\n";
assert_eq!(expected, actual);
Ok(())
}