[functional-tests (rust)] squash warnings
This commit is contained in:
parent
9552cb4817
commit
39822a7165
@ -1,8 +1,10 @@
|
|||||||
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use anyhow::Result;
|
use anyhow::Result;
|
||||||
use duct::{cmd, Expression};
|
use duct::{Expression};
|
||||||
use std::fs::OpenOptions;
|
use std::fs::OpenOptions;
|
||||||
use std::io::{Read, Write};
|
use std::io::{Read, Write};
|
||||||
use std::path::{Display, PathBuf};
|
use std::path::{PathBuf};
|
||||||
use std::str::from_utf8;
|
use std::str::from_utf8;
|
||||||
use tempfile::{tempdir, TempDir};
|
use tempfile::{tempdir, TempDir};
|
||||||
use thinp::file_utils;
|
use thinp::file_utils;
|
||||||
|
@ -5,7 +5,7 @@ use thinp::version::TOOLS_VERSION;
|
|||||||
mod common;
|
mod common;
|
||||||
|
|
||||||
use common::*;
|
use common::*;
|
||||||
use common::xml_generator::{write_xml, FragmentedS, SingleThinS};
|
use common::xml_generator::{write_xml, FragmentedS};
|
||||||
|
|
||||||
//------------------------------------------
|
//------------------------------------------
|
||||||
|
|
||||||
|
@ -5,8 +5,6 @@ use std::io::{Write};
|
|||||||
use std::str::from_utf8;
|
use std::str::from_utf8;
|
||||||
|
|
||||||
mod common;
|
mod common;
|
||||||
|
|
||||||
use common::xml_generator::{write_xml, FragmentedS, SingleThinS};
|
|
||||||
use common::*;
|
use common::*;
|
||||||
|
|
||||||
//------------------------------------------
|
//------------------------------------------
|
||||||
|
@ -4,8 +4,6 @@ use thinp::file_utils;
|
|||||||
use thinp::version::TOOLS_VERSION;
|
use thinp::version::TOOLS_VERSION;
|
||||||
|
|
||||||
mod common;
|
mod common;
|
||||||
|
|
||||||
use common::xml_generator::{write_xml, FragmentedS, SingleThinS};
|
|
||||||
use common::*;
|
use common::*;
|
||||||
|
|
||||||
//------------------------------------------
|
//------------------------------------------
|
||||||
|
@ -1,13 +1,7 @@
|
|||||||
use anyhow::Result;
|
use anyhow::Result;
|
||||||
use thinp::file_utils;
|
|
||||||
use std::fs::OpenOptions;
|
|
||||||
use std::io::{Write};
|
|
||||||
use std::str::from_utf8;
|
|
||||||
use thinp::version::TOOLS_VERSION;
|
use thinp::version::TOOLS_VERSION;
|
||||||
|
|
||||||
mod common;
|
mod common;
|
||||||
|
|
||||||
use common::xml_generator::{write_xml, FragmentedS, SingleThinS};
|
|
||||||
use common::*;
|
use common::*;
|
||||||
|
|
||||||
//------------------------------------------
|
//------------------------------------------
|
||||||
@ -83,7 +77,7 @@ fn multiple_regions_should_pass() -> Result<()> {
|
|||||||
fn junk_input() -> Result<()> {
|
fn junk_input() -> Result<()> {
|
||||||
let mut td = TestDir::new()?;
|
let mut td = TestDir::new()?;
|
||||||
let xml = mk_valid_xml(&mut td)?;
|
let xml = mk_valid_xml(&mut td)?;
|
||||||
let stderr = run_fail(thin_rmap!("--region", "0..-1", &xml))?;
|
run_fail(thin_rmap!("--region", "0..-1", &xml))?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user