Skip to content

Commit 6d5d7ef

Browse files
committed
Add braces to if statement
1 parent f40b3c2 commit 6d5d7ef

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/FluentAssertions.Ioc.Ninject/SingleTypeKernelAssertions.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@ public void To<T>()
5757

5858
private string BuildFailureMessage(ActivationError error)
5959
{
60-
if (error == null) return string.Empty;
60+
if (error == null)
61+
{
62+
return string.Empty;
63+
}
6164

6265
var builder = new StringBuilder();
6366

0 commit comments

Comments
 (0)