瀏覽代碼

Dummy test case explanation.

Stepan 4 年之前
父節點
當前提交
195a6261c4
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      tests/Jellyfin.Naming.Tests/TV/EpisodePathParserTest.cs

+ 4 - 0
tests/Jellyfin.Naming.Tests/TV/EpisodePathParserTest.cs

@@ -82,6 +82,10 @@ namespace Jellyfin.Naming.Tests.TV
             Assert.True(res!.IsStub);
             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]
         [Fact]
         public void EpisodePathParserTest_EmptyDateParsers()
         public void EpisodePathParserTest_EmptyDateParsers()
         {
         {