mirror of
https://github.com/nushell/nushell
synced 2025-01-13 05:38:57 +00:00
Fix ubuntu clippy prroblem
This commit is contained in:
parent
3a69e0ed00
commit
8666290b58
2 changed files with 7 additions and 10 deletions
9
Cargo.lock
generated
9
Cargo.lock
generated
|
@ -2458,9 +2458,9 @@ checksum = "7655c9839580ee829dfacba1d1278c2b7883e50a277ff7541299489d6bdfdc45"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "is_debug"
|
name = "is_debug"
|
||||||
version = "1.0.1"
|
version = "1.0.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "06d198e9919d9822d5f7083ba8530e04de87841eaf21ead9af8f2304efd57c89"
|
checksum = "e8ea828c9d6638a5bd3d8b14e37502b4d56cae910ccf8a5b7f51c7a0eb1d0508"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "is_executable"
|
name = "is_executable"
|
||||||
|
@ -3738,6 +3738,7 @@ dependencies = [
|
||||||
"nix 0.29.0",
|
"nix 0.29.0",
|
||||||
"num-format",
|
"num-format",
|
||||||
"serde",
|
"serde",
|
||||||
|
"serde_json",
|
||||||
"strip-ansi-escapes",
|
"strip-ansi-escapes",
|
||||||
"sys-locale",
|
"sys-locale",
|
||||||
"unicase",
|
"unicase",
|
||||||
|
@ -6294,9 +6295,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "shadow-rs"
|
name = "shadow-rs"
|
||||||
version = "0.36.0"
|
version = "0.37.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "58cfcd0643497a9f780502063aecbcc4a3212cbe4948fd25ee8fd179c2cf9a18"
|
checksum = "974eb8222c62a8588bc0f02794dd1ba5b60b3ec88b58e050729d0907ed6af610"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"const_format",
|
"const_format",
|
||||||
"is_debug",
|
"is_debug",
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
use nu_path::assert_path_eq;
|
|
||||||
use nu_test_support::fs::Stub::EmptyFile;
|
use nu_test_support::fs::Stub::EmptyFile;
|
||||||
use nu_test_support::playground::Playground;
|
use nu_test_support::playground::Playground;
|
||||||
use nu_test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
use std::path::Path;
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn lists_regular_files() {
|
fn lists_regular_files() {
|
||||||
|
@ -887,9 +885,7 @@ fn support_pwd_per_drive() {
|
||||||
"#
|
"#
|
||||||
);
|
);
|
||||||
eprintln!("std out: {}", _actual.out);
|
eprintln!("std out: {}", _actual.out);
|
||||||
assert_path_eq!(_actual.out, r"X:\test_folder_on_x\test_file_on_x.txt");
|
assert_eq!(_actual.out, r"X:\test_folder_on_x\test_file_on_x.txt");
|
||||||
//assert!(_actual.err.is_empty());
|
assert!(_actual.err.is_empty());
|
||||||
//assert!(dirs.test.join("test_folder").exists());
|
|
||||||
//assert!(!dirs.test.join("test_folder").join("test_file.txt").exists());
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue