@@ -32,19 +32,19 @@ public async Task ValidSignatureVerifies()
3232 {
3333 var testFilename = Path . Combine ( tempDirectory . DirectoryPath , "bom.xml" ) ;
3434
35- var fileContents = await File . ReadAllTextAsync ( Path . Combine ( "Resources" , "bom-1.3.xml" ) ) . ConfigureAwait ( false ) ;
35+ var fileContents = await File . ReadAllTextAsync ( Path . Combine ( "Resources" , "bom-1.3.xml" ) ) . ConfigureAwait ( true ) ;
3636 if ( Environment . OSVersion . Platform == PlatformID . Win32NT )
3737 {
3838 fileContents = fileContents . Replace ( "\r \n " , "\n " ) ;
3939 }
40- await File . WriteAllTextAsync ( testFilename , fileContents ) . ConfigureAwait ( false ) ;
40+ await File . WriteAllTextAsync ( testFilename , fileContents ) . ConfigureAwait ( true ) ;
4141
4242 var exitCode = await VerifyFileCommand . VerifyFile ( new VerifyFileCommandOptions
4343 {
4444 File = testFilename ,
4545 KeyFile = Path . Combine ( "Resources" , "public.key" ) ,
4646 SignatureFile = Path . Combine ( "Resources" , "bom-1.3.xml.valid.sig" ) ,
47- } ) . ConfigureAwait ( false ) ;
47+ } ) . ConfigureAwait ( true ) ;
4848
4949 Assert . Equal ( ExitCode . Ok , ( ExitCode ) exitCode ) ;
5050 }
@@ -57,19 +57,19 @@ public async Task InvalidSignatureFailsVerification()
5757 {
5858 var testFilename = Path . Combine ( tempDirectory . DirectoryPath , "bom.xml" ) ;
5959
60- var fileContents = await File . ReadAllTextAsync ( Path . Combine ( "Resources" , "bom-1.3.xml" ) ) . ConfigureAwait ( false ) ;
60+ var fileContents = await File . ReadAllTextAsync ( Path . Combine ( "Resources" , "bom-1.3.xml" ) ) . ConfigureAwait ( true ) ;
6161 if ( Environment . OSVersion . Platform == PlatformID . Win32NT )
6262 {
6363 fileContents = fileContents . Replace ( "\r \n " , "\n " ) ;
6464 }
65- await File . WriteAllTextAsync ( testFilename , fileContents ) . ConfigureAwait ( false ) ;
65+ await File . WriteAllTextAsync ( testFilename , fileContents ) . ConfigureAwait ( true ) ;
6666
6767 var exitCode = await VerifyFileCommand . VerifyFile ( new VerifyFileCommandOptions
6868 {
6969 File = testFilename ,
7070 KeyFile = Path . Combine ( "Resources" , "public.key" ) ,
7171 SignatureFile = Path . Combine ( "Resources" , "bom-1.3.xml.invalid.sig" ) ,
72- } ) . ConfigureAwait ( false ) ;
72+ } ) . ConfigureAwait ( true ) ;
7373
7474 Assert . Equal ( ExitCode . SignatureFailedVerification , ( ExitCode ) exitCode ) ;
7575 }
0 commit comments