File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Microsoft.OpenApi.Readers.Tests/OpenApiReaderTests
Microsoft.OpenApi.Tests/Models Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 2
2
// Licensed under the MIT license.
3
3
4
4
using System . IO ;
5
+ using System . Threading . Tasks ;
5
6
using Microsoft . OpenApi . Models ;
6
7
using Microsoft . OpenApi . Reader ;
7
8
using Xunit ;
@@ -36,7 +37,7 @@ public void StreamShouldNotCloseIfLeaveStreamOpenSettingEqualsTrue()
36
37
}
37
38
38
39
[ Fact ]
39
- public async void StreamShouldNotBeDisposedIfLeaveStreamOpenSettingIsTrue ( )
40
+ public async Task StreamShouldNotBeDisposedIfLeaveStreamOpenSettingIsTrue ( )
40
41
{
41
42
var memoryStream = new MemoryStream ( ) ;
42
43
using var fileStream = Resources . GetStream ( Path . Combine ( SampleFolderPath , "petStore.yaml" ) ) ;
Original file line number Diff line number Diff line change @@ -1342,7 +1342,7 @@ public void SerializeV2DocumentWithStyleAsNullDoesNotWriteOutStyleValue()
1342
1342
[ Theory ]
1343
1343
[ InlineData ( true ) ]
1344
1344
[ InlineData ( false ) ]
1345
- public async void SerializeDocumentWithWebhooksAsV3JsonWorks ( bool produceTerseOutput )
1345
+ public async Task SerializeDocumentWithWebhooksAsV3JsonWorks ( bool produceTerseOutput )
1346
1346
{
1347
1347
// Arrange
1348
1348
var outputStringWriter = new StringWriter ( CultureInfo . InvariantCulture ) ;
You can’t perform that action at this time.
0 commit comments