Skip to content

Commit d1d6213

Browse files
committed
Fixed exception error message.
1 parent 2488993 commit d1d6213

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/MyTested.AspNetCore.Mvc.Controllers.Views.ActionResults.Test/BuildersTests/ActionsTests/ShouldReturnTests/ShouldReturnViewComponentTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public void ShouldReturnViewComponentShouldThrowExceptionWithDifferentCaseViewCo
116116
.ViewComponent(viewComponent => viewComponent
117117
.WithName("incorrect"));
118118
},
119-
"When calling ViewComponentResultByName action in MvcController expected view component result to be 'incorrect', but instead received 'Incorrect'.");
119+
"When calling ViewComponent action in MvcController expected view component result to be 'incorrect', but instead received 'Incorrect'.");
120120
}
121121

122122
[Fact]

0 commit comments

Comments
 (0)