File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
tests/FluentAssertions.Mvc3.Tests Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ cmd.exe
1313FluentAssertionsMvc.VisualState.xml
1414[Rr ]elease
1515TestResult.xml
16-
16+ [ Tt ] est [ Rr ] esults /
1717* .gpState
1818[Pp ]ackages /
1919* .nupkg
Original file line number Diff line number Diff line change @@ -206,8 +206,7 @@ public void Model_GivenUnexpectedValue_ShouldFail()
206206 } ;
207207
208208 Action a = ( ) => result . Should ( ) . BeViewResult ( ) . Model . Should ( ) . Be ( "xyx" ) ;
209- a . ShouldThrow < Exception > ( )
210- . WithMessage ( "" ) ;
209+ a . ShouldThrow < Exception > ( ) ;
211210 }
212211
213212 [ Test ]
@@ -230,8 +229,7 @@ public void ModelAs_GivenUnexpectedValue_ShouldFail()
230229 } ;
231230
232231 Action a = ( ) => result . Should ( ) . BeViewResult ( ) . ModelAs < string > ( ) . Should ( ) . Be ( "xyx" ) ;
233- a . ShouldThrow < Exception > ( )
234- . WithMessage ( "" ) ;
232+ a . ShouldThrow < Exception > ( ) ;
235233 }
236234
237235 [ Test ]
@@ -243,8 +241,7 @@ public void ModelAs_GivenWrongType_ShouldFail()
243241 } ;
244242
245243 Action a = ( ) => result . Should ( ) . BeViewResult ( ) . ModelAs < int > ( ) . Should ( ) . Be ( 2 ) ;
246- a . ShouldThrow < Exception > ( )
247- . WithMessage ( "" ) ;
244+ a . ShouldThrow < Exception > ( ) ;
248245 }
249246
250247 [ Test ]
You can’t perform that action at this time.
0 commit comments