mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
more linux fixes
This commit is contained in:
parent
aee31d1bc2
commit
324195eb23
2 changed files with 15 additions and 12 deletions
|
@ -81,6 +81,7 @@ namespace NzbDrone.Common.Test
|
|||
[Test]
|
||||
public void get_actual_casing_should_return_actual_casing_for_local_file_in_windows()
|
||||
{
|
||||
WindowsOnly();
|
||||
var path = Process.GetCurrentProcess().MainModule.FileName;
|
||||
path.ToUpper().GetActualCasing().Should().Be(path);
|
||||
path.ToLower().GetActualCasing().Should().Be(path);
|
||||
|
@ -89,6 +90,7 @@ namespace NzbDrone.Common.Test
|
|||
[Test]
|
||||
public void get_actual_casing_should_return_origibal_value_in_linux()
|
||||
{
|
||||
LinuxOnly();
|
||||
var path = Process.GetCurrentProcess().MainModule.FileName;
|
||||
path.GetActualCasing().Should().Be(path);
|
||||
path.GetActualCasing().Should().Be(path);
|
||||
|
@ -107,7 +109,7 @@ namespace NzbDrone.Common.Test
|
|||
[Test]
|
||||
public void get_actual_casing_should_return_original_value_in_linux()
|
||||
{
|
||||
WindowsOnly();
|
||||
LinuxOnly();
|
||||
var path = Directory.GetCurrentDirectory();
|
||||
path.GetActualCasing().Should().Be(path);
|
||||
path.GetActualCasing().Should().Be(path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue