Skip to content

Commit 629e611

Browse files
authored
Matcher shortcut syntax example fixed
1 parent 42b923b commit 629e611

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/userguide/expectations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Shortcut syntax, where matcher is directly part of expectation:
5252
ut.expect( a_actual ).not_to_{matcher};
5353

5454
--example
55-
ut.expect( 1 ).to_( be_null() );
55+
ut.expect( 1 ).to_be_null();
5656
```
5757

5858
When using shortcut syntax you don't need to surround matcher with brackets. Shortcut syntax is provided for convenience.

0 commit comments

Comments
 (0)