mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 22:37:45 +02:00
touchup some clippy warnings in tests (#6612)
This commit is contained in:
@ -289,7 +289,7 @@ proptest! {
|
||||
}
|
||||
#[test]
|
||||
fn to_nuon_from_nuon_string(s: String) {
|
||||
if s != "\\0" && s!= "" && !s.contains('\\') && !s.contains('"'){
|
||||
if s != "\\0" && !s.is_empty() && !s.contains('\\') && !s.contains('"'){
|
||||
let actual = nu!(
|
||||
cwd: "tests/fixtures/formats", pipeline(
|
||||
format!(r#"
|
||||
|
Reference in New Issue
Block a user