mirror of
https://github.com/Readarr/Readarr.git
synced 2026-09-22 19:25:04 -04:00
Environment variables sometimes lie!
This commit is contained in:
1 parent
c42e4d682c
commit
2e36538dcd
1 file changed
+1
-1
@@ -196,7 +196,7 @@ public void get_actual_casing_for_none_existing_folder_return_partially_fixed_re
|
||||
public void get_actual_casing_should_return_actual_casing_for_local_file_in_windows()
|
||||
{
|
||||
WindowsOnly();
|
||||
var path = Environment.ExpandEnvironmentVariables("%SystemRoot%\\System32");
|
||||
var path = Directory.GetDirectories("C:\\")[3];
|
||||
path.ToUpper().GetActualCasing().Should().Be(path);
|
||||
path.ToLower().GetActualCasing().Should().Be(path);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user