aboutsummaryrefslogtreecommitdiff
path: root/tests/Emby.Server.Implementations.Tests/IO/ManagedFileSystemTests.cs
diff options
context:
space:
mode:
authorBen Magee <ben@bmagee.com>2020-01-08 23:03:17 +0000
committerBen Magee <ben@bmagee.com>2020-01-08 23:03:17 +0000
commit140673fcf6186c559c97829a14991f7f81d22430 (patch)
treea8da3c172b02f1960d4a1aa4c66a2f4245cc8e84 /tests/Emby.Server.Implementations.Tests/IO/ManagedFileSystemTests.cs
parent43c76b48c9f90afc34a5fd40aa1a28c8ae7b736a (diff)
Add a test case which doesn't specify the parent directory.
Diffstat (limited to 'tests/Emby.Server.Implementations.Tests/IO/ManagedFileSystemTests.cs')
-rw-r--r--tests/Emby.Server.Implementations.Tests/IO/ManagedFileSystemTests.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Emby.Server.Implementations.Tests/IO/ManagedFileSystemTests.cs b/tests/Emby.Server.Implementations.Tests/IO/ManagedFileSystemTests.cs
index 586c50db6..0044196a7 100644
--- a/tests/Emby.Server.Implementations.Tests/IO/ManagedFileSystemTests.cs
+++ b/tests/Emby.Server.Implementations.Tests/IO/ManagedFileSystemTests.cs
@@ -19,6 +19,7 @@ namespace Emby.Server.Implementations.Tests.IO
[Theory]
[InlineData("/Volumes/Library/Sample/Music/Playlists/", "../Beethoven/Misc/Moonlight Sonata.mp3", "/Volumes/Library/Sample/Music/Beethoven/Misc/Moonlight Sonata.mp3")]
[InlineData("/Volumes/Library/Sample/Music/Playlists/", "../../Beethoven/Misc/Moonlight Sonata.mp3", "/Volumes/Library/Sample/Beethoven/Misc/Moonlight Sonata.mp3")]
+ [InlineData("/Volumes/Library/Sample/Music/Playlists/", "Beethoven/Misc/Moonlight Sonata.mp3", "/Volumes/Library/Sample/Music/Playlists/Beethoven/Misc/Moonlight Sonata.mp3")]
public void MakeAbsolutePathCorrectlyHandlesRelativeFilePaths(
string folderPath,
string filePath,