소스 검색

Add a test case which doesn't specify the parent directory.

Ben Magee 5 년 전
부모
커밋
140673fcf6
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      tests/Emby.Server.Implementations.Tests/IO/ManagedFileSystemTests.cs

+ 1 - 0
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,