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 22// Licensed under the MIT license.
33
44using System . IO ;
5+ using System . Threading . Tasks ;
56using Microsoft . OpenApi . Models ;
67using Microsoft . OpenApi . Reader ;
78using Xunit ;
@@ -36,7 +37,7 @@ public void StreamShouldNotCloseIfLeaveStreamOpenSettingEqualsTrue()
3637 }
3738
3839 [ Fact ]
39- public async void StreamShouldNotBeDisposedIfLeaveStreamOpenSettingIsTrue ( )
40+ public async Task StreamShouldNotBeDisposedIfLeaveStreamOpenSettingIsTrue ( )
4041 {
4142 var memoryStream = new MemoryStream ( ) ;
4243 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()
13421342 [ Theory ]
13431343 [ InlineData ( true ) ]
13441344 [ InlineData ( false ) ]
1345- public async void SerializeDocumentWithWebhooksAsV3JsonWorks ( bool produceTerseOutput )
1345+ public async Task SerializeDocumentWithWebhooksAsV3JsonWorks ( bool produceTerseOutput )
13461346 {
13471347 // Arrange
13481348 var outputStringWriter = new StringWriter ( CultureInfo . InvariantCulture ) ;
You can’t perform that action at this time.
0 commit comments