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

28 lines
727 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},
2021-07-04 00:26:59 +03:00
process::{Command, Output, Stdio},
str,
};
pub(crate) use cradle::input::Input;
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;
pub(crate) use temptree::{temptree, tree, Tree};
pub(crate) use which::which;
pub(crate) use 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
};