Skip to content

Commit

Permalink
Update the generated guide to mention the showDiff argument of assert
Browse files Browse the repository at this point in the history
  • Loading branch information
astorije committed Feb 28, 2015
1 parent 9c05640 commit fe87eea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion out/guide/plugins/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ <h3 id="basic-assertion">Basic Assertion</h3>
<li>a string error message to be used if the assertion is negated and the first argument is <code>true</code></li>
<li>(optional) the expected value</li>
<li>(optional) the actual value, which will default to <code>_obj</code></li>
<li>(optional) a boolean which indicates whether to display a diff in addition to the message if the first argument is <code>false</code></li>
</ol>
<h3 id="composing-error-messages">Composing Error Messages</h3>
<p>As you can see from the above example, Chai can accept template tags to dynamically compose
Expand Down Expand Up @@ -232,4 +233,4 @@ <h3 class="fancy"><a href="#">Chai Assertion Library</a></h3>
</section>
</footer>
</body>
</html>
</html>

0 comments on commit fe87eea

Please sign in to comment.