Fix warnings and split Scope (#1902)

This commit is contained in:
Jonathan Turner
2020-05-27 16:50:26 +12:00
committed by GitHub
parent 9567c1f564
commit fa812849b8
29 changed files with 141 additions and 148 deletions

View File

@ -267,6 +267,7 @@ mod integration {
Ok(())
}
#[test]
#[allow(clippy::approx_constant)]
fn converts_the_input_to_float_using_the_field_passed_as_parameter() -> Result<(), ShellError> {
let run = plugin(&mut Str::new())
.args(

View File

@ -294,6 +294,7 @@ pub mod tests {
}
#[test]
#[allow(clippy::approx_constant)]
fn converts_to_float() -> Result<(), Box<dyn std::error::Error>> {
let mut strutils = Str::new();
strutils.for_to_float();