1
1
mirror of https://github.com/casey/just.git synced 2024-11-23 02:44:56 +03:00
just/tests/assert_stdout.rs

7 lines
181 B
Rust
Raw Normal View History

use super::*;
2021-07-04 00:26:59 +03:00
pub(crate) fn assert_stdout(output: &std::process::Output, stdout: &str) {
2021-07-04 00:26:59 +03:00
assert_success(output);
assert_eq!(String::from_utf8_lossy(&output.stdout), stdout);
}