Skip to content

The Free Software Media System - Server Backend & API

Dummy test case explanation.

Stepan195a6261c49f
diff --git a/tests/Jellyfin.Naming.Tests/TV/EpisodePathParserTest.cs b/tests/Jellyfin.Naming.Tests/TV/EpisodePathParserTest.cs
index 57f382b382..12fc19bc48 100644
--- a/tests/Jellyfin.Naming.Tests/TV/EpisodePathParserTest.cs
+++ b/tests/Jellyfin.Naming.Tests/TV/EpisodePathParserTest.cs
@@ -82,6 +82,10 @@ namespace Jellyfin.Naming.Tests.TV
Assert.True(res!.IsStub);
}
+ /*
+ * EpisodePathParser.cs:130 is currently unreachable, but the piece of code is useful and could be reached with addition of new EpisodeExpressions.
+ * In order to preserve it but achieve 100% code coverage the test case below with made up expressions and filename is used.
+ */
[Fact]
public void EpisodePathParserTest_EmptyDateParsers()
{