mirror of
https://github.com/nushell/nushell
synced 2024-12-26 04:53:09 +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]]
|
||||
name = "is_debug"
|
||||
version = "1.0.1"
|
||||
version = "1.0.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "06d198e9919d9822d5f7083ba8530e04de87841eaf21ead9af8f2304efd57c89"
|
||||
checksum = "e8ea828c9d6638a5bd3d8b14e37502b4d56cae910ccf8a5b7f51c7a0eb1d0508"
|
||||
|
||||
[[package]]
|
||||
name = "is_executable"
|
||||
|
@ -3738,6 +3738,7 @@ dependencies = [
|
|||
"nix 0.29.0",
|
||||
"num-format",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"strip-ansi-escapes",
|
||||
"sys-locale",
|
||||
"unicase",
|
||||
|
@ -6294,9 +6295,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "shadow-rs"
|
||||
version = "0.36.0"
|
||||
version = "0.37.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "58cfcd0643497a9f780502063aecbcc4a3212cbe4948fd25ee8fd179c2cf9a18"
|
||||
checksum = "974eb8222c62a8588bc0f02794dd1ba5b60b3ec88b58e050729d0907ed6af610"
|
||||
dependencies = [
|
||||
"const_format",
|
||||
"is_debug",
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
use nu_path::assert_path_eq;
|
||||
use nu_test_support::fs::Stub::EmptyFile;
|
||||
use nu_test_support::playground::Playground;
|
||||
use nu_test_support::{nu, pipeline};
|
||||
use std::path::Path;
|
||||
|
||||
#[test]
|
||||
fn lists_regular_files() {
|
||||
|
@ -887,9 +885,7 @@ fn support_pwd_per_drive() {
|
|||
"#
|
||||
);
|
||||
eprintln!("std out: {}", _actual.out);
|
||||
assert_path_eq!(_actual.out, r"X:\test_folder_on_x\test_file_on_x.txt");
|
||||
//assert!(_actual.err.is_empty());
|
||||
//assert!(dirs.test.join("test_folder").exists());
|
||||
//assert!(!dirs.test.join("test_folder").join("test_file.txt").exists());
|
||||
assert_eq!(_actual.out, r"X:\test_folder_on_x\test_file_on_x.txt");
|
||||
assert!(_actual.err.is_empty());
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue