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
13
13
FluentAssertionsMvc.VisualState.xml
14
14
[Rr ]elease
15
15
TestResult.xml
16
-
16
+ [ Tt ] est [ Rr ] esults /
17
17
* .gpState
18
18
[Pp ]ackages /
19
19
* .nupkg
Original file line number Diff line number Diff line change @@ -206,8 +206,7 @@ public void Model_GivenUnexpectedValue_ShouldFail()
206
206
} ;
207
207
208
208
Action a = ( ) => result . Should ( ) . BeViewResult ( ) . Model . Should ( ) . Be ( "xyx" ) ;
209
- a . ShouldThrow < Exception > ( )
210
- . WithMessage ( "" ) ;
209
+ a . ShouldThrow < Exception > ( ) ;
211
210
}
212
211
213
212
[ Test ]
@@ -230,8 +229,7 @@ public void ModelAs_GivenUnexpectedValue_ShouldFail()
230
229
} ;
231
230
232
231
Action a = ( ) => result . Should ( ) . BeViewResult ( ) . ModelAs < string > ( ) . Should ( ) . Be ( "xyx" ) ;
233
- a . ShouldThrow < Exception > ( )
234
- . WithMessage ( "" ) ;
232
+ a . ShouldThrow < Exception > ( ) ;
235
233
}
236
234
237
235
[ Test ]
@@ -243,8 +241,7 @@ public void ModelAs_GivenWrongType_ShouldFail()
243
241
} ;
244
242
245
243
Action a = ( ) => result . Should ( ) . BeViewResult ( ) . ModelAs < int > ( ) . Should ( ) . Be ( 2 ) ;
246
- a . ShouldThrow < Exception > ( )
247
- . WithMessage ( "" ) ;
244
+ a . ShouldThrow < Exception > ( ) ;
248
245
}
249
246
250
247
[ Test ]
You can’t perform that action at this time.
0 commit comments