mirror of
https://github.com/starship/starship.git
synced 2024-12-26 00:58:52 +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(())
|
||
|
}
|