We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8d47bf commit f89c7e0Copy full SHA for f89c7e0
Tests/Botticelli.Audio.Tests/UniversalLowQualityConvertorTests.cs
@@ -6,7 +6,7 @@ namespace Botticelli.Audio.Tests;
6
[TestFixture]
7
public class UniversalLowQualityConvertorTests
8
{
9
- private readonly IConvertor _convertor;
+ private readonly IConvertor? _convertor;
10
11
public UniversalLowQualityConvertorTests()
12
@@ -32,8 +32,7 @@ public void ConvertMp3ToOpusTest()
32
private byte[] GetOutcome(AudioInfo audioInfo)
33
34
using var stream = File.OpenRead("voice.mp3");
35
- var outcome = _convertor.Convert(stream, audioInfo);
36
- return outcome;
+ return _convertor.Convert(stream, audioInfo);
37
}
38
39
private static void Check()
0 commit comments