mirror of
https://github.com/nushell/nushell.git
synced 2025-08-15 08:03:13 +02:00
Fix warnings and split Scope (#1902)
This commit is contained in:
@ -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(
|
||||
|
@ -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();
|
||||
|
Reference in New Issue
Block a user