|
|
|
@ -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));
|
|
|
|
|