diff options
| author | Ben Magee <ben@bmagee.com> | 2020-01-08 23:03:17 +0000 |
|---|---|---|
| committer | Ben Magee <ben@bmagee.com> | 2020-01-08 23:03:17 +0000 |
| commit | 140673fcf6186c559c97829a14991f7f81d22430 (patch) | |
| tree | a8da3c172b02f1960d4a1aa4c66a2f4245cc8e84 /tests/Emby.Server.Implementations.Tests/IO/ManagedFileSystemTests.cs | |
| parent | 43c76b48c9f90afc34a5fd40aa1a28c8ae7b736a (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.cs | 1 |
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, |
