mirror of
https://github.com/tealdeer-rs/tealdeer.git
synced 2026-08-09 09:49:10 +02:00
Use tree-style imports (#204)
This commit is contained in:
parent
b0449dc6bf
commit
e84fce6f90
8 changed files with 57 additions and 41 deletions
16
tests/lib.rs
16
tests/lib.rs
|
|
@ -1,13 +1,17 @@
|
|||
//! Integration tests.
|
||||
|
||||
use std::fs::{create_dir_all, File};
|
||||
use std::io::Write;
|
||||
use std::process::Command;
|
||||
use std::time::{Duration, SystemTime};
|
||||
use std::{
|
||||
fs::{create_dir_all, File},
|
||||
io::Write,
|
||||
process::Command,
|
||||
time::{Duration, SystemTime},
|
||||
};
|
||||
|
||||
use assert_cmd::prelude::*;
|
||||
use predicates::boolean::PredicateBooleanExt;
|
||||
use predicates::prelude::predicate::str::{contains, diff, is_empty};
|
||||
use predicates::{
|
||||
boolean::PredicateBooleanExt,
|
||||
prelude::predicate::str::{contains, diff, is_empty},
|
||||
};
|
||||
use tempfile::{Builder, TempDir};
|
||||
|
||||
// TODO: Should be 'cache::CACHE_DIR_ENV_VAR'. This requires to have a library crate for the logic.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue