mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-18 21:50:25 +01:00
Merge pull request #3953 from crobibero/dotnetglob
bump DotNet.Glob
(cherry picked from commit 03c89fa717)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
committed by
Joshua M. Boniface
parent
c3ef1f56f6
commit
37f2743780
@@ -30,8 +30,7 @@ namespace Jellyfin.Server.Implementations.Tests.Library
|
||||
[InlineData("/media/movies/.@__thumb/foo-bar-thumbnail.png", true)]
|
||||
[InlineData("/media/music/Foo B.A.R./epic.flac", false)]
|
||||
[InlineData("/media/music/Foo B.A.R", false)]
|
||||
// This test is pending an upstream fix: https://github.com/dazinator/DotNet.Glob/issues/78
|
||||
// [InlineData("/media/music/Foo B.A.R.", false)]
|
||||
[InlineData("/media/music/Foo B.A.R.", false)]
|
||||
public void PathIgnored(string path, bool expected)
|
||||
{
|
||||
Assert.Equal(expected, IgnorePatterns.ShouldIgnore(path));
|
||||
|
||||
Reference in New Issue
Block a user