mirror of
https://github.com/nushell/nushell.git
synced 2024-12-01 12:54:16 +01:00
cargo next run --target x86_64-pc-windows-gnu
This commit is contained in:
parent
31aba48380
commit
f22f2985a7
@ -154,7 +154,7 @@ mod tests {
|
||||
}
|
||||
|
||||
{
|
||||
let map = drive_pwd_map.lock().unwrap();
|
||||
let mut map = drive_pwd_map.lock().unwrap();
|
||||
|
||||
// Get PWD for drive C
|
||||
assert_eq!(map.get_pwd('C'), Some("C:\\Users\\Example".to_string()));
|
||||
@ -215,7 +215,7 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn test_get_pwd_invalid_drive() {
|
||||
let drive_map = DrivePWDmap::new();
|
||||
let mut drive_map = DrivePWDmap::new();
|
||||
|
||||
// Get PWD for a drive not set (e.g., Z)
|
||||
assert_eq!(drive_map.get_pwd('Z'), Some("Z:\\".to_string()));
|
||||
|
Loading…
Reference in New Issue
Block a user