Skip to content

Commit 791dca1

Browse files
committed
fixed missing brace in custom precondition method
1 parent 9a35e0f commit 791dca1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ If you want to write your own assertion method, you should follow these recommen
130130
Check out the existing methods and the following template:
131131

132132
```csharp
133-
[Conditional(Check.CompileAssertionsSymbol)
133+
[Conditional(Check.CompileAssertionsSymbol)]
134134
public static void *YourMethodName*(this *YourType* parameter, *Your other necessary parameters*, string parameterName = null, string message = null, Func<Exception> exception = null)
135135
{
136136
if (*check something here*)

0 commit comments

Comments
 (0)