From 635337f953aac7ae26d1c19630e7f940dbfc3120 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Tue, 13 Jan 2015 01:04:59 +0100 Subject: [PATCH] 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 --- test/message/throw_custom_error.out | 2 +- test/message/throw_in_line_with_tabs.out | 2 +- test/message/throw_non_error.out | 2 +- test/message/throw_null.out | 2 +- test/message/throw_undefined.out | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/message/throw_custom_error.out b/test/message/throw_custom_error.out index 87a99c1..f003972 100644 --- a/test/message/throw_custom_error.out +++ b/test/message/throw_custom_error.out @@ -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 diff --git a/test/message/throw_in_line_with_tabs.out b/test/message/throw_in_line_with_tabs.out index f4e3aff..11eadab 100644 --- a/test/message/throw_in_line_with_tabs.out +++ b/test/message/throw_in_line_with_tabs.out @@ -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] diff --git a/test/message/throw_non_error.out b/test/message/throw_non_error.out index 5f8213e..4b39de5 100644 --- a/test/message/throw_non_error.out +++ b/test/message/throw_non_error.out @@ -1,5 +1,5 @@ before -*test*message*throw_non_error.js:31 +*test*message*throw_non_error.js:7 throw ({ foo: 'bar' }); ^ [object Object] diff --git a/test/message/throw_null.out b/test/message/throw_null.out index 7ba9662..be5cb3f 100644 --- a/test/message/throw_null.out +++ b/test/message/throw_null.out @@ -1,5 +1,5 @@ -*test*message*throw_null.js:25 +*test*message*throw_null.js:4 throw null; ^ null diff --git a/test/message/throw_undefined.out b/test/message/throw_undefined.out index 23fc53a..1aa6e15 100644 --- a/test/message/throw_undefined.out +++ b/test/message/throw_undefined.out @@ -1,5 +1,5 @@ -*test*message*throw_undefined.js:25 +*test*message*throw_undefined.js:4 throw undefined; ^ undefined -- 2.7.4