mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-22 16:46:54 +01:00
Run tree-wide dotnet format
This commit is contained in:
@@ -37,9 +37,9 @@ public class FFProbeVideoInfoTests
|
||||
{
|
||||
Assert.Throws<ArgumentException>(
|
||||
() => _fFProbeVideoInfo.CreateDummyChapters(new Video()
|
||||
{
|
||||
RunTimeTicks = runtime
|
||||
}));
|
||||
{
|
||||
RunTimeTicks = runtime
|
||||
}));
|
||||
}
|
||||
|
||||
[Theory]
|
||||
@@ -53,9 +53,9 @@ public class FFProbeVideoInfoTests
|
||||
public void CreateDummyChapters_ValidRuntime_CorrectChaptersCount(long? runtime, int chaptersCount)
|
||||
{
|
||||
var chapters = _fFProbeVideoInfo.CreateDummyChapters(new Video()
|
||||
{
|
||||
RunTimeTicks = runtime
|
||||
});
|
||||
{
|
||||
RunTimeTicks = runtime
|
||||
});
|
||||
|
||||
Assert.Equal(chaptersCount, chapters.Length);
|
||||
}
|
||||
@@ -69,9 +69,9 @@ public class FFProbeVideoInfoTests
|
||||
public void CreateDummyChapters_PositiveRuntime_NoChapterBeyondRuntime(long runtime)
|
||||
{
|
||||
var chapters = _fFProbeVideoInfo.CreateDummyChapters(new Video()
|
||||
{
|
||||
RunTimeTicks = runtime
|
||||
});
|
||||
{
|
||||
RunTimeTicks = runtime
|
||||
});
|
||||
|
||||
Assert.All(chapters, chapter => Assert.True(chapter.StartPositionTicks < runtime));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user