mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-07 21:42:16 -07:00
Environment variables sometimes lie!
This commit is contained in:
parent
c42e4d682c
commit
2e36538dcd
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ namespace NzbDrone.Common.Test
|
|||
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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue