1
1
mirror of https://github.com/casey/just.git synced 2024-11-23 11:04:09 +03:00
just/tests/common.rs

31 lines
664 B
Rust
Raw Normal View History

pub(crate) use std::{
collections::BTreeMap,
2021-05-10 06:35:35 +03:00
env::{self, consts::EXE_SUFFIX},
2021-07-04 00:26:59 +03:00
error::Error,
fmt::Debug,
2021-05-10 06:35:35 +03:00
fs,
io::Write,
iter,
path::{Path, PathBuf, MAIN_SEPARATOR},
2021-07-04 00:26:59 +03:00
process::{Command, Output, Stdio},
str,
};
2021-11-17 11:07:48 +03:00
pub(crate) use ::{
cradle::input::Input,
executable_path::executable_path,
just::unindent,
libc::{EXIT_FAILURE, EXIT_SUCCESS},
pretty_assertions::Comparison,
regex::Regex,
serde_json::{json, Value},
tempfile::TempDir,
temptree::{temptree, tree, Tree},
which::which,
yaml_rust::YamlLoader,
};
2021-07-04 00:26:59 +03:00
pub(crate) use crate::{
assert_stdout::assert_stdout, assert_success::assert_success, tempdir::tempdir, test::Test,
2021-07-04 00:26:59 +03:00
};