Use tree-style imports (#204)

This commit is contained in:
Danilo Bargen 2021-09-13 09:06:21 +02:00 committed by GitHub
commit e84fce6f90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 57 additions and 41 deletions

View file

@ -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.