0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00

test: fix message tests regression

Commit 3e1b1dd ("Remove excessive copyright/license boilerplate") broke
some of the message tests because without the license boilerplate at
the top, the line numbers no longer match up.

PR-URL: https://github.com/iojs/io.js/pull/316
Reviewed-By: Bert Belder <bertbelder@gmail.com>
This commit is contained in:
Ben Noordhuis 2015-01-13 01:04:59 +01:00
parent 3e1b1dd4a9
commit 635337f953
5 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
before
*test*message*throw_custom_error.js:31
*test*message*throw_custom_error.js:7
throw ({ name: 'MyCustomError', message: 'This is a custom message' });
^
MyCustomError: This is a custom message

View File

@ -1,5 +1,5 @@
before
*test*message*throw_in_line_with_tabs.js:32
*test*message*throw_in_line_with_tabs.js:8
throw ({ foo: 'bar' });
^
[object Object]

View File

@ -1,5 +1,5 @@
before
*test*message*throw_non_error.js:31
*test*message*throw_non_error.js:7
throw ({ foo: 'bar' });
^
[object Object]

View File

@ -1,5 +1,5 @@
*test*message*throw_null.js:25
*test*message*throw_null.js:4
throw null;
^
null

View File

@ -1,5 +1,5 @@
*test*message*throw_undefined.js:25
*test*message*throw_undefined.js:4
throw undefined;
^
undefined