Skip to content

Commit

Permalink
test: fix message tests regression
Browse files Browse the repository at this point in the history
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: nodejs#316
Reviewed-By: Bert Belder <[email protected]>
  • Loading branch information
bnoordhuis committed Jan 13, 2015
1 parent 3e1b1dd commit 635337f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/message/throw_custom_error.out
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion test/message/throw_in_line_with_tabs.out
Original file line number Diff line number Diff line change
@@ -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]
2 changes: 1 addition & 1 deletion test/message/throw_non_error.out
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
before
*test*message*throw_non_error.js:31
*test*message*throw_non_error.js:7
throw ({ foo: 'bar' });
^
[object Object]
2 changes: 1 addition & 1 deletion test/message/throw_null.out
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

*test*message*throw_null.js:25
*test*message*throw_null.js:4
throw null;
^
null
2 changes: 1 addition & 1 deletion test/message/throw_undefined.out
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

*test*message*throw_undefined.js:25
*test*message*throw_undefined.js:4
throw undefined;
^
undefined

0 comments on commit 635337f

Please sign in to comment.