mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #3953 from crobibero/dotnetglob
bump DotNet.Glob (cherry picked from commit 03c89fa71785cb380c31c9af767caf14731d8e99) Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
parent
c3ef1f56f6
commit
37f2743780
@ -43,7 +43,7 @@
|
|||||||
<PackageReference Include="ServiceStack.Text.Core" Version="5.9.0" />
|
<PackageReference Include="ServiceStack.Text.Core" Version="5.9.0" />
|
||||||
<PackageReference Include="sharpcompress" Version="0.25.1" />
|
<PackageReference Include="sharpcompress" Version="0.25.1" />
|
||||||
<PackageReference Include="SQLitePCL.pretty.netstandard" Version="2.1.0" />
|
<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>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -30,8 +30,7 @@ namespace Jellyfin.Server.Implementations.Tests.Library
|
|||||||
[InlineData("/media/movies/.@__thumb/foo-bar-thumbnail.png", true)]
|
[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./epic.flac", false)]
|
||||||
[InlineData("/media/music/Foo B.A.R", 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)
|
public void PathIgnored(string path, bool expected)
|
||||||
{
|
{
|
||||||
Assert.Equal(expected, IgnorePatterns.ShouldIgnore(path));
|
Assert.Equal(expected, IgnorePatterns.ShouldIgnore(path));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user