Skip to content

Commit f89c7e0

Browse files
author
Igor Evdokimov
committed
- fix
1 parent e8d47bf commit f89c7e0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Tests/Botticelli.Audio.Tests/UniversalLowQualityConvertorTests.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Botticelli.Audio.Tests;
66
[TestFixture]
77
public class UniversalLowQualityConvertorTests
88
{
9-
private readonly IConvertor _convertor;
9+
private readonly IConvertor? _convertor;
1010

1111
public UniversalLowQualityConvertorTests()
1212
{
@@ -32,8 +32,7 @@ public void ConvertMp3ToOpusTest()
3232
private byte[] GetOutcome(AudioInfo audioInfo)
3333
{
3434
using var stream = File.OpenRead("voice.mp3");
35-
var outcome = _convertor.Convert(stream, audioInfo);
36-
return outcome;
35+
return _convertor.Convert(stream, audioInfo);
3736
}
3837

3938
private static void Check()

0 commit comments

Comments
 (0)