mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 10:25:42 +02:00
Fix a bunch of future clippy warnings (#3586)
* Fix a bunch of future clippy warnings * Fix a bunch of future clippy warnings
This commit is contained in:
@ -30,7 +30,7 @@ fn current_working_directory_in_sandbox_directory_created() {
|
||||
let original_cwd = dirs.test();
|
||||
nu.within("some_directory_within");
|
||||
|
||||
assert_eq!(path(&nu.cwd()), original_cwd.join("some_directory_within"));
|
||||
assert_eq!(path(nu.cwd()), original_cwd.join("some_directory_within"));
|
||||
})
|
||||
}
|
||||
|
||||
@ -42,6 +42,6 @@ fn current_working_directory_back_to_root_from_anywhere() {
|
||||
nu.within("some_directory_within");
|
||||
nu.back_to_playground();
|
||||
|
||||
assert_eq!(path(&nu.cwd()), *original_cwd);
|
||||
assert_eq!(path(nu.cwd()), *original_cwd);
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user