From 70457e0c77c126e0760f42017a2856faf7670f6b Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Mon, 26 Feb 2018 22:06:21 +0100 Subject: [PATCH] [squash] remove at at --- lib/events.js | 2 +- test/message/events_unhandled_error_common_trace.out | 2 +- test/message/events_unhandled_error_nexttick.out | 2 +- test/message/events_unhandled_error_sameline.out | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/events.js b/lib/events.js index a03c248bf7b7b4..b97f44dec37832 100644 --- a/lib/events.js +++ b/lib/events.js @@ -134,7 +134,7 @@ function longestCommonSubsequence(a, b) { } function enhanceStackTrace(err, own) { - const sep = '\nEmitted \'error\' event at at:\n'; + const sep = '\nEmitted \'error\' event at:\n'; const errStack = err.stack.split('\n').slice(1); const ownStack = own.stack.split('\n').slice(1); diff --git a/test/message/events_unhandled_error_common_trace.out b/test/message/events_unhandled_error_common_trace.out index 272d7be1729ebb..e3ff6089699304 100644 --- a/test/message/events_unhandled_error_common_trace.out +++ b/test/message/events_unhandled_error_common_trace.out @@ -13,7 +13,7 @@ Error: foo:bar at Function.Module._load (module.js:*:*) at Function.Module.runMain (module.js:*:*) at startup (bootstrap_node.js:*:*) -Emitted 'error' event at at: +Emitted 'error' event at: at quux (*events_unhandled_error_common_trace.js:*:*) at Object. (*events_unhandled_error_common_trace.js:*:*) at Module._compile (module.js:*:*) diff --git a/test/message/events_unhandled_error_nexttick.out b/test/message/events_unhandled_error_nexttick.out index 551693781afa0b..33c9a9ef571706 100644 --- a/test/message/events_unhandled_error_nexttick.out +++ b/test/message/events_unhandled_error_nexttick.out @@ -12,7 +12,7 @@ Error at Function.Module.runMain (module.js:*:*) at startup (bootstrap_node.js:*:*) at bootstrap_node.js:*:* -Emitted 'error' event at at: +Emitted 'error' event at: at process.nextTick (*events_unhandled_error_nexttick.js:*:*) at process._tickCallback (internal/process/next_tick.js:*:*) at Function.Module.runMain (module.js:*:*) diff --git a/test/message/events_unhandled_error_sameline.out b/test/message/events_unhandled_error_sameline.out index 65ab590a3ea464..100c294276d04b 100644 --- a/test/message/events_unhandled_error_sameline.out +++ b/test/message/events_unhandled_error_sameline.out @@ -12,7 +12,7 @@ Error at Function.Module.runMain (module.js:*:*) at startup (bootstrap_node.js:*:*) at bootstrap_node.js:*:* -Emitted 'error' event at at: +Emitted 'error' event at: at Object. (*events_unhandled_error_sameline.js:*:*) at Module._compile (module.js:*:*) [... lines matching original stack trace ...]