mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-23 21:47:14 -04: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:
parent
c3ef1f56f6
commit
37f2743780
2 changed files with 2 additions and 3 deletions
|
@ -43,7 +43,7 @@
|
|||
<PackageReference Include="ServiceStack.Text.Core" Version="5.9.0" />
|
||||
<PackageReference Include="sharpcompress" Version="0.25.1" />
|
||||
<PackageReference Include="SQLitePCL.pretty.netstandard" Version="2.1.0" />
|
||||
<PackageReference Include="DotNet.Glob" Version="3.0.9" />
|
||||
<PackageReference Include="DotNet.Glob" Version="3.1.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue