Skip to content

Commit 58df54f

Browse files
committed
Error message moved on new line.
1 parent c840782 commit 58df54f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

test/MyTested.AspNetCore.Mvc.ViewData.Test/InternalTests/ComponentTestContextViewDataExtensionsTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ public void GetViewDataShouldThrowInvalidOperationExceptionWithPocoViewComponent
2424
.AndAlso()
2525
.ShouldReturn()
2626
.View();
27-
}, "ViewDataDictionary could not be found on the provided PocoViewComponent. The property should be specified manually by providing component instance or using the specified helper methods.");
27+
},
28+
"ViewDataDictionary could not be found on the provided PocoViewComponent. The property should be specified manually by providing component instance or using the specified helper methods.");
2829
}
2930

3031
[Fact]

test/MyTested.AspNetCore.Mvc.ViewData.Test/InternalTests/ViewDataPropertyHelperTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ public void ViewDataGetterShouldThrowInvalidOperationExceptionForPrivatePocoCont
8282
() =>
8383
{
8484
helper.ViewDataGetter(controller);
85-
}, "ViewDataDictionary could not be found on the provided PrivatePocoController. The property should be specified manually by providing component instance or using the specified helper methods.");
85+
},
86+
"ViewDataDictionary could not be found on the provided PrivatePocoController. The property should be specified manually by providing component instance or using the specified helper methods.");
8687
}
8788
}
8889
}

0 commit comments

Comments
 (0)