File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
src/MyTested.AspNetCore.Mvc.Controllers/Builders/Attributes Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -31,11 +31,7 @@ public ActionAttributesTestBuilder(ControllerTestContext testContext)
31
31
public IActionAttributesTestBuilder AndAlso ( ) => this ;
32
32
33
33
public override void ThrowNewAttributeAssertionException ( string expectedValue , string actualValue )
34
- => throw new AttributeAssertionException ( string . Format (
35
- "{0} action to have {1}, but {2}." ,
36
- this . TestContext . ExceptionMessagePrefix ,
37
- expectedValue ,
38
- actualValue ) ) ;
34
+ => throw new AttributeAssertionException ( $ "{ this . TestContext . ExceptionMessagePrefix } action to have { expectedValue } , but { actualValue } .") ;
39
35
40
36
public IAndActionAttributesTestBuilder IncludingInherited ( )
41
37
=> throw new System . NotImplementedException ( ) ;
You can’t perform that action at this time.
0 commit comments