just/tests/common.rs

23 lines
530 B
Rust
Raw Normal View History

pub(crate) use std::{
collections::BTreeMap,
2021-05-09 20:35:35 -07:00
env::{self, consts::EXE_SUFFIX},
2021-07-03 14:26:59 -07:00
error::Error,
2021-05-09 20:35:35 -07:00
fs,
io::Write,
iter,
path::Path,
2021-07-03 14:26:59 -07:00
process::{Command, Output, Stdio},
str,
};
pub(crate) use executable_path::executable_path;
pub(crate) use just::unindent;
pub(crate) use libc::{EXIT_FAILURE, EXIT_SUCCESS};
2021-07-03 14:26:59 -07:00
pub(crate) use temptree::temptree;
pub(crate) use which::which;
pub(crate) use yaml_rust::YamlLoader;
2021-07-03 14:26:59 -07:00
pub(crate) use crate::{
assert_stdout::assert_stdout, assert_success::assert_success, tempdir::tempdir,
};