Update FFMpegCore.Test/ArgumentBuilderTest.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Malte Rosenbjerg 2025-10-17 19:54:15 +02:00 committed by GitHub
parent 1b0051b234
commit 77d13e8143
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -707,14 +707,14 @@ public class ArgumentBuilderTest
} }
[TestMethod] [TestMethod]
public void InputPipe_MaxLength_ShorterThanMacOsMax() public void InputPipe_MaxLength_ShorterThanMacOSMax()
{ {
var pipePath = new InputPipeArgument(new StreamPipeSource(Stream.Null)).PipePath; var pipePath = new InputPipeArgument(new StreamPipeSource(Stream.Null)).PipePath;
Assert.IsLessThan(_macOsMaxPipePathLength, pipePath.Length); Assert.IsLessThan(104, pipePath.Length);
} }
[TestMethod] [TestMethod]
public void OutputPipe_MaxLength_ShorterThanMacOsMax() public void OutputPipe_MaxLength_ShorterThanMacOSMax()
{ {
var pipePath = new OutputPipeArgument(new StreamPipeSink(Stream.Null)).PipePath; var pipePath = new OutputPipeArgument(new StreamPipeSink(Stream.Null)).PipePath;
Assert.IsLessThan(_macOsMaxPipePathLength, pipePath.Length); Assert.IsLessThan(_macOsMaxPipePathLength, pipePath.Length);