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