Skip to content

Commit 1d1d47d

Browse files
Fixes a stylistic issue with ifs and statements on the same line
1 parent 3b4bc63 commit 1d1d47d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

TestStack.Dossier/TestDataBuilder.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ public TValue Get<TValue>(Expression<Func<TObject, TValue>> property)
156156
public object Get(Type type, string propertyName)
157157
{
158158
Func<object> factory;
159-
if (_properties.TryGetValue(propertyName, out factory)) return factory();
159+
if (_properties.TryGetValue(propertyName, out factory))
160+
return factory();
160161

161162
return Any.Get(type, propertyName);
162163
}

0 commit comments

Comments
 (0)