mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Environment variables sometimes lie!
This commit is contained in:
@@ -196,7 +196,7 @@ namespace NzbDrone.Common.Test
|
|||||||
public void get_actual_casing_should_return_actual_casing_for_local_file_in_windows()
|
public void get_actual_casing_should_return_actual_casing_for_local_file_in_windows()
|
||||||
{
|
{
|
||||||
WindowsOnly();
|
WindowsOnly();
|
||||||
var path = Environment.ExpandEnvironmentVariables("%SystemRoot%\\System32");
|
var path = Directory.GetDirectories("C:\\")[3];
|
||||||
path.ToUpper().GetActualCasing().Should().Be(path);
|
path.ToUpper().GetActualCasing().Should().Be(path);
|
||||||
path.ToLower().GetActualCasing().Should().Be(path);
|
path.ToLower().GetActualCasing().Should().Be(path);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user