1
1
mirror of https://github.com/casey/just.git synced 2024-11-26 23:27:26 +03:00
just/tests/assert_stdout.rs
2021-07-03 21:26:59 +00:00

7 lines
175 B
Rust

use crate::common::*;
pub(crate) fn assert_stdout(output: &Output, stdout: &str) {
assert_success(output);
assert_eq!(String::from_utf8_lossy(&output.stdout), stdout);
}