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:
parent
3e1b1dd4a9
commit
635337f953
@ -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
|
||||
|
@ -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]
|
||||
|
@ -1,5 +1,5 @@
|
||||
before
|
||||
*test*message*throw_non_error.js:31
|
||||
*test*message*throw_non_error.js:7
|
||||
throw ({ foo: 'bar' });
|
||||
^
|
||||
[object Object]
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
*test*message*throw_null.js:25
|
||||
*test*message*throw_null.js:4
|
||||
throw null;
|
||||
^
|
||||
null
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
*test*message*throw_undefined.js:25
|
||||
*test*message*throw_undefined.js:4
|
||||
throw undefined;
|
||||
^
|
||||
undefined
|
||||
|
Loading…
Reference in New Issue
Block a user