<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/node.git/doc/api/assert.markdown, branch master</title>
<subtitle>github.com: joyent/node.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/'/>
<entry>
<title>Update assert.markdown</title>
<updated>2015-08-05T18:13:50+00:00</updated>
<author>
<name>daveboivin</name>
<email>dave.a.boivin@gmail.com</email>
</author>
<published>2015-07-30T21:58:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=99414b3bb67584ea593318247a4ac0ea74640616'/>
<id>99414b3bb67584ea593318247a4ac0ea74640616</id>
<content type='text'>
The current wording "This module is used for writing unit tests for your applications, you can access it with require('assert')." implies that this module should only be used in development while unit testing.

The article "Error Handling in Node.js" by Joyent (https://www.joyent.com/developers/node/design/errors) uses the assert module in an efficient way to validate required function arguments.

Reviewed-By: James M Snell &lt;jasnell@gmail.com&gt;
PR-URL: https://github.com/joyent/node/pull/25786
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current wording "This module is used for writing unit tests for your applications, you can access it with require('assert')." implies that this module should only be used in development while unit testing.

The article "Error Handling in Node.js" by Joyent (https://www.joyent.com/developers/node/design/errors) uses the assert module in an efficient way to validate required function arguments.

Reviewed-By: James M Snell &lt;jasnell@gmail.com&gt;
PR-URL: https://github.com/joyent/node/pull/25786
</pre>
</div>
</content>
</entry>
<entry>
<title>doc: use correct signature for assert()</title>
<updated>2015-01-20T15:51:00+00:00</updated>
<author>
<name>Andrei Sedoi</name>
<email>bsnote@gmail.com</email>
</author>
<published>2015-01-09T17:55:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=430096a90f69fc98b1786dfa0009c02b0d011143'/>
<id>430096a90f69fc98b1786dfa0009c02b0d011143</id>
<content type='text'>
The message argument is optional for both assert() and
assert.ok(). This commit makes message optional for assert().

PR-URL: https://github.com/joyent/node/pull/9003
Reviewed-By: Colin Ihrig &lt;cjihrig@gmail.com&gt;
Reviewed-By: Trevor Norris &lt;trev.norris@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The message argument is optional for both assert() and
assert.ok(). This commit makes message optional for assert().

PR-URL: https://github.com/joyent/node/pull/9003
Reviewed-By: Colin Ihrig &lt;cjihrig@gmail.com&gt;
Reviewed-By: Trevor Norris &lt;trev.norris@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>doc: fix optional parameter parsing</title>
<updated>2014-09-29T23:32:34+00:00</updated>
<author>
<name>Trevor Norris</name>
<email>trev.norris@gmail.com</email>
</author>
<published>2014-09-29T23:32:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=f2a78de6ec134f4050531ba6a52dee47e0aee165'/>
<id>f2a78de6ec134f4050531ba6a52dee47e0aee165</id>
<content type='text'>
The parameter parser specifically looked for the old bracket syntax.
This generated a lot of warnings when building the docs. Those warnings
have been fixed by changing the parsing logic.

Signed-off-by: Trevor Norris &lt;trev.norris@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The parameter parser specifically looked for the old bracket syntax.
This generated a lot of warnings when building the docs. Those warnings
have been fixed by changing the parsing logic.

Signed-off-by: Trevor Norris &lt;trev.norris@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>doc: fix brackets for optional parameters</title>
<updated>2014-09-25T18:26:15+00:00</updated>
<author>
<name>Trevor Norris</name>
<email>trev.norris@gmail.com</email>
</author>
<published>2014-09-24T22:41:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=51b6b6844e9156ab84ae9d0f4592e09f994060b2'/>
<id>51b6b6844e9156ab84ae9d0f4592e09f994060b2</id>
<content type='text'>
Documentation incorrectly used bracket notation for optional parameters.
This caused inconsistencies in usage because of examples like the
following:

    fs.write(fd, data[, position[, encoding]], callback)

This simply fixes all uses of bracket notation in documentation.

Signed-off-by: Trevor Norris &lt;trev.norris@gmail.com&gt;
Reviewed-by: Fedor Indutny &lt;fedor@indutny.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Documentation incorrectly used bracket notation for optional parameters.
This caused inconsistencies in usage because of examples like the
following:

    fs.write(fd, data[, position[, encoding]], callback)

This simply fixes all uses of bracket notation in documentation.

Signed-off-by: Trevor Norris &lt;trev.norris@gmail.com&gt;
Reviewed-by: Fedor Indutny &lt;fedor@indutny.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>doc: update assert.markdown</title>
<updated>2014-02-23T14:09:26+00:00</updated>
<author>
<name>Nicolas Talle</name>
<email>dev@nicolab.net</email>
</author>
<published>2014-02-22T15:02:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=1efe6837b23a2a70a226b4fcab8dc5ea1c7bf2c8'/>
<id>1efe6837b23a2a70a226b4fcab8dc5ea1c7bf2c8</id>
<content type='text'>
Update assert.throws() and assert.doesNotThrow() docs
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update assert.throws() and assert.doesNotThrow() docs
</pre>
</div>
</content>
</entry>
<entry>
<title>doc: update assert.doesNotThrow() docs</title>
<updated>2012-08-29T00:36:22+00:00</updated>
<author>
<name>Ben Noordhuis</name>
<email>info@bnoordhuis.nl</email>
</author>
<published>2012-08-29T00:30:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=e4cef1a0833e6d677298600e205a142d15639bf2'/>
<id>e4cef1a0833e6d677298600e205a142d15639bf2</id>
<content type='text'>
It takes an optional "expected exception" argument that is not used meaningfully
but is nevertheless documented. Undocument it, it confuses casual readers of the
documentation.

Fixes #3935.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It takes an optional "expected exception" argument that is not used meaningfully
but is nevertheless documented. Undocument it, it confuses casual readers of the
documentation.

Fixes #3935.
</pre>
</div>
</content>
</entry>
<entry>
<title>docs: correct the description of assert.ok()</title>
<updated>2012-03-12T01:27:55+00:00</updated>
<author>
<name>Nao Iizuka</name>
<email>iizuka@kyu-mu.net</email>
</author>
<published>2012-03-11T00:48:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=f8ce384446d38598df53fe18d004baabb65591ff'/>
<id>f8ce384446d38598df53fe18d004baabb65591ff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>doc: Add stability indicators to documentation</title>
<updated>2012-03-04T01:03:52+00:00</updated>
<author>
<name>isaacs</name>
<email>i@izs.me</email>
</author>
<published>2012-03-02T23:14:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=2d44dcc8be9dc8d9b1dde3f68983478aa30de59c'/>
<id>2d44dcc8be9dc8d9b1dde3f68983478aa30de59c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>doc refactor: assert</title>
<updated>2012-02-29T23:23:00+00:00</updated>
<author>
<name>isaacs</name>
<email>i@izs.me</email>
</author>
<published>2012-02-27T19:07:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=d383954ffe0aca64036a7d1bfeb25f6a87e81203'/>
<id>d383954ffe0aca64036a7d1bfeb25f6a87e81203</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>docs: Update `assert` module docs</title>
<updated>2011-10-02T00:25:52+00:00</updated>
<author>
<name>Maciej Małecki</name>
<email>maciej.malecki@notimplemented.org</email>
</author>
<published>2011-10-01T11:46:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=f4f037aa64879585d956992b11d4b3fb24da14ea'/>
<id>f4f037aa64879585d956992b11d4b3fb24da14ea</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
