mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-12-01 09:13:54 +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(())
|
||
|
}
|