mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-08 23:00:51 +02:00
commit
03c89fa717
|
@ -41,7 +41,7 @@
|
||||||
<PackageReference Include="ServiceStack.Text.Core" Version="5.9.2" />
|
<PackageReference Include="ServiceStack.Text.Core" Version="5.9.2" />
|
||||||
<PackageReference Include="sharpcompress" Version="0.26.0" />
|
<PackageReference Include="sharpcompress" Version="0.26.0" />
|
||||||
<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…
Reference in a new issue