just/tests/common.rs

28 lines
709 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,
fmt::Debug,
2021-05-09 20:35:35 -07:00
fs,
io::Write,
iter,
path::{Path, PathBuf},
2021-07-03 14:26:59 -07:00
process::{Command, Output, Stdio},
str,
};
pub(crate) use cradle::cmd_unit;
pub(crate) use executable_path::executable_path;
pub(crate) use just::unindent;
pub(crate) use libc::{EXIT_FAILURE, EXIT_SUCCESS};
pub(crate) use pretty_assertions::Comparison;
pub(crate) use regex::Regex;
pub(crate) use tempfile::TempDir;
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, test::Test,
2021-07-03 14:26:59 -07:00
};