mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-18 02:55:13 +00:00
14 lines
282 B
Rust
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(())
|
||
|
}
|