File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -344,13 +344,15 @@ public void DeployShouldDeployPdbWithSourceIfPdbFileIsPresentInSourceDirectory()
344344 Path . Combine ( testRunDirectories . OutDirectory , sourceFile ) ,
345345 out warning ) ,
346346 Times . Once ) ;
347+ #if DEBUG
347348 _mockFileUtility . Verify (
348- fu =>
349- fu . CopyFileOverwrite (
350- It . Is < string > ( s => s . Contains ( pdbFile ) ) ,
351- Path . Combine ( testRunDirectories . OutDirectory , pdbFile ) ,
352- out warning ) ,
353- Times . Once ) ;
349+ fu =>
350+ fu . CopyFileOverwrite (
351+ It . Is < string > ( s => s . Contains ( pdbFile ) ) ,
352+ Path . Combine ( testRunDirectories . OutDirectory , pdbFile ) ,
353+ out warning ) ,
354+ Times . Once ) ;
355+ #endif
354356 }
355357
356358 public void DeployShouldNotDeployPdbFileOfAssemblyIfPdbFileIsNotPresentInAssemblyDirectory ( )
You can’t perform that action at this time.
0 commit comments