1
1
mirror of https://github.com/casey/just.git synced 2024-11-22 18:34:06 +03:00
just/tests/assert_stdout.rs
2023-01-13 19:03:14 +00:00

7 lines
181 B
Rust

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