Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 629e611

Browse filesBrowse files
authored
Matcher shortcut syntax example fixed
1 parent 42b923b commit 629e611
Copy full SHA for 629e611

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎docs/userguide/expectations.md

Copy file name to clipboardExpand all lines: docs/userguide/expectations.md
+1-1
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.