<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/node.git/test/simple/test-assert.js, branch move-debugger-tests</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>assert: indicate if exception message is generated</title>
<updated>2013-10-11T17:15:03+00:00</updated>
<author>
<name>Glen Mailer</name>
<email>glenjamin@gmail.com</email>
</author>
<published>2013-09-11T16:18:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=66b8c3c5a03717f3ddc0399c063713e7f6f4ad10'/>
<id>66b8c3c5a03717f3ddc0399c063713e7f6f4ad10</id>
<content type='text'>
AssertionError.generatedMessage is now true when
AssertionError.message was generated from expected and actual

Fixes #5836, #6206
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
AssertionError.generatedMessage is now true when
AssertionError.message was generated from expected and actual

Fixes #5836, #6206
</pre>
</div>
</content>
</entry>
<entry>
<title>assert: put info in err.message, not err.name</title>
<updated>2013-04-18T22:08:35+00:00</updated>
<author>
<name>Ryan Doenges</name>
<email>rhdoenges@gmail.com</email>
</author>
<published>2013-04-14T01:48:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=6101eb184db77d0b11eb96e48744e57ecce4b73d'/>
<id>6101eb184db77d0b11eb96e48744e57ecce4b73d</id>
<content type='text'>
4716dc6 made assert.equal() and related functions work better by
generating a better toString() from the expected, actual, and operator
values passed to fail(). Unfortunately, this was accomplished by putting
the generated message into the error's `name` property. When you passed
in a custom error message, the error would put the custom error into
`name` *and* `message`, resulting in helpful string representations like
"AssertionError: Oh no: Oh no".

This commit resolves that issue by storing the generated message in the
`message` property while leaving the error's name alone and adding
a regression test so that this doesn't pop back up later.

Closes #5292.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
4716dc6 made assert.equal() and related functions work better by
generating a better toString() from the expected, actual, and operator
values passed to fail(). Unfortunately, this was accomplished by putting
the generated message into the error's `name` property. When you passed
in a custom error message, the error would put the custom error into
`name` *and* `message`, resulting in helpful string representations like
"AssertionError: Oh no: Oh no".

This commit resolves that issue by storing the generated message in the
`message` property while leaving the error's name alone and adding
a regression test so that this doesn't pop back up later.

Closes #5292.
</pre>
</div>
</content>
</entry>
<entry>
<title>assert: fix throws() throws an error without message property</title>
<updated>2012-07-29T10:48:16+00:00</updated>
<author>
<name>koichik</name>
<email>koichik@improvement.jp</email>
</author>
<published>2012-03-24T07:00:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=72bc4dcda4cfa99ed064419e40d104bd1b2e0e25'/>
<id>72bc4dcda4cfa99ed064419e40d104bd1b2e0e25</id>
<content type='text'>
Fixes #2893.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #2893.
</pre>
</div>
</content>
</entry>
<entry>
<title>Lint all the JavaScripts.</title>
<updated>2012-02-18T23:34:57+00:00</updated>
<author>
<name>isaacs</name>
<email>i@izs.me</email>
</author>
<published>2012-02-18T23:01:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=0cdf85e28d57428a90026c6a402e624c1dcaabce'/>
<id>0cdf85e28d57428a90026c6a402e624c1dcaabce</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'v0.6'</title>
<updated>2012-01-23T18:30:28+00:00</updated>
<author>
<name>Fedor Indutny</name>
<email>fedor.indutny@gmail.com</email>
</author>
<published>2012-01-23T18:30:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=667aae596cded9336f50574386683ec39ada43f2'/>
<id>667aae596cded9336f50574386683ec39ada43f2</id>
<content type='text'>
Conflicts:
	ChangeLog
	doc/template.html
	lib/cluster.js
	lib/http.js
	lib/tls.js
	src/node.h
	src/node_version.h
	test/simple/test-cluster-kill-workers.js
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:
	ChangeLog
	doc/template.html
	lib/cluster.js
	lib/http.js
	lib/tls.js
	src/node.h
	src/node_version.h
	test/simple/test-cluster-kill-workers.js
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests: fix jslint issues</title>
<updated>2012-01-17T18:45:09+00:00</updated>
<author>
<name>Andreas Madsen</name>
<email>amwebdk@gmail.com</email>
</author>
<published>2012-01-17T18:43:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=48650639248e73f78b2bd4ba2d3d1590749753ce'/>
<id>48650639248e73f78b2bd4ba2d3d1590749753ce</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>assert: test `RegExp`'s properties when checking for equality</title>
<updated>2011-12-19T23:10:49+00:00</updated>
<author>
<name>Maciej Małecki</name>
<email>maciej.malecki@notimplemented.org</email>
</author>
<published>2011-12-19T22:28:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=5c7532e5b3fad40a50696e43fc2ff066af7037c3'/>
<id>5c7532e5b3fad40a50696e43fc2ff066af7037c3</id>
<content type='text'>
Previous code ignored the fact that `/a/ != /a/g`.

Test case included.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previous code ignored the fact that `/a/ != /a/g`.

Test case included.
</pre>
</div>
</content>
</entry>
<entry>
<title>assert: .deepEqual() support for RegExp objects</title>
<updated>2011-12-19T23:10:38+00:00</updated>
<author>
<name>Pedro Teixeira</name>
<email>pedro.teixeira@gmail.com</email>
</author>
<published>2011-02-02T11:09:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=a805012d6f083d0503ccca121f95c6bedb8dc933'/>
<id>a805012d6f083d0503ccca121f95c6bedb8dc933</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed a lot of jslint errors.</title>
<updated>2011-10-06T01:51:06+00:00</updated>
<author>
<name>Colton Baker</name>
<email>github@netrefuge.net</email>
</author>
<published>2011-10-04T22:08:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=87286cc7371886d9856edf424785aaa890ba05a9'/>
<id>87286cc7371886d9856edf424785aaa890ba05a9</id>
<content type='text'>
Fixes #1831
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #1831
</pre>
</div>
</content>
</entry>
<entry>
<title>test: Update assert module tests</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:52:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=365fdbfc643ddd5b04bd704aab585c46a58598cf'/>
<id>365fdbfc643ddd5b04bd704aab585c46a58598cf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
