test: fix message tests regression
authorBen Noordhuis <info@bnoordhuis.nl>
Tue, 13 Jan 2015 00:04:59 +0000 (01:04 +0100)
committerBen Noordhuis <info@bnoordhuis.nl>
Tue, 13 Jan 2015 00:50:32 +0000 (01:50 +0100)
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>
test/message/throw_custom_error.out
test/message/throw_in_line_with_tabs.out
test/message/throw_non_error.out
test/message/throw_null.out
test/message/throw_undefined.out

index 87a99c1..f003972 100644 (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
index f4e3aff..11eadab 100644 (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]
index 5f8213e..4b39de5 100644 (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]
index 7ba9662..be5cb3f 100644 (file)
@@ -1,5 +1,5 @@
 
-*test*message*throw_null.js:25
+*test*message*throw_null.js:4
 throw null;
 ^      
 null
index 23fc53a..1aa6e15 100644 (file)
@@ -1,5 +1,5 @@
 
-*test*message*throw_undefined.js:25
+*test*message*throw_undefined.js:4
 throw undefined;
       ^
 undefined