We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8aedd19 commit 3cb4157Copy full SHA for 3cb4157
doc/learning/tutorial.html
@@ -493,7 +493,7 @@ <h2 id="errors">Errors</h2>
493
<li>To assert a condition before an expression: <code>assert "foo";</code></li>
494
<li>A custom failure message: <code>assert "foo" : "message";</code></li>
495
<li>Assert fields have a property: <code>assert self.f == 10,</code></li>
496
- <li>With custom failure message: <code>assert "foo" : "message",</code></li>
+ <li>With custom failure message: <code>assert self.f == 10 : "message",</code></li>
497
</ul>
498
<p>
499
Try modifying the code below to trigger the assertion failures, and observe the error
0 commit comments