@@ -254,11 +254,7 @@ public void WhenCalledWithNonExistsFilePathItThrows()
254254
255255 Action a = ( ) => toolManifest . Find ( new FilePath ( Path . Combine ( _testDirectoryRoot , "non-exists" ) ) ) ;
256256 a . Should ( ) . Throw < ToolManifestCannotBeFoundException > ( ) . And . Message . Should ( )
257- . Contain ( string . Format ( CliStrings . CannotFindAManifestFile , "" ) ) ;
258-
259- a . Should ( ) . Throw < ToolManifestCannotBeFoundException > ( ) . And . VerboseMessage . Should ( )
260- . Contain ( string . Format ( CliStrings . CannotFindAManifestFile , "" ) )
261- . And . Contain (
257+ . Contain ( string . Format ( CliStrings . CannotFindAManifestFile , "" ) ) . And . Contain (
262258 Path . Combine ( _testDirectoryRoot , "non-exists" ) ,
263259 "the specificied manifest file name is in the 'searched list'" ) ;
264260 }
@@ -275,9 +271,6 @@ public void GivenNoManifestFileItThrows()
275271 Action a = ( ) => toolManifest . Find ( ) ;
276272 a . Should ( ) . Throw < ToolManifestCannotBeFoundException > ( ) . And . Message . Should ( )
277273 . Contain ( string . Format ( CliStrings . CannotFindAManifestFile , "" ) ) ;
278-
279- a . Should ( ) . Throw < ToolManifestCannotBeFoundException > ( ) . And . VerboseMessage . Should ( )
280- . Contain ( string . Format ( CliStrings . CannotFindAManifestFile , "" ) ) ;
281274 }
282275
283276 [ Fact ]
@@ -445,9 +438,6 @@ public void GivenNoManifestFileWhenFindContainPackageIdItThrows()
445438
446439 a . Should ( ) . Throw < ToolManifestCannotBeFoundException > ( ) . And . Message . Should ( )
447440 . Contain ( string . Format ( CliStrings . CannotFindAManifestFile , "" ) ) ;
448-
449- a . Should ( ) . Throw < ToolManifestCannotBeFoundException > ( ) . And . VerboseMessage . Should ( )
450- . Contain ( string . Format ( CliStrings . CannotFindAManifestFile , "" ) ) ;
451441 }
452442
453443 [ Fact ]
@@ -741,9 +731,6 @@ public void GivenManifestFileOnSameDirectoryItThrowsWhenTheManifestFileCannotBeF
741731
742732 a . Should ( ) . Throw < ToolManifestCannotBeFoundException > ( ) . And . Message . Should ( )
743733 . Contain ( string . Format ( CliStrings . CannotFindAManifestFile , "" ) ) ;
744-
745- a . Should ( ) . Throw < ToolManifestCannotBeFoundException > ( ) . And . VerboseMessage . Should ( )
746- . Contain ( string . Format ( CliStrings . CannotFindAManifestFile , "" ) ) ;
747734 }
748735
749736 [ Fact ]
0 commit comments