aboutsummaryrefslogtreecommitdiff
path: root/test/message
diff options
context:
space:
mode:
authorAli Ijaz Sheikh <ofrobots@google.com>2017-01-17 12:54:29 -0800
committerMichaël Zasso <targos@protonmail.com>2017-02-19 10:18:33 +0100
commit751404dc287e9d404a7186d73684e97fabbe3064 (patch)
treef1b4cadcab31a6390593809ed67f7a1c9286316a /test/message
parent99b75fae10f846ea44e248c4e96ff47d6baa57bb (diff)
downloadandroid-node-v8-751404dc287e9d404a7186d73684e97fabbe3064.tar.gz
android-node-v8-751404dc287e9d404a7186d73684e97fabbe3064.tar.bz2
android-node-v8-751404dc287e9d404a7186d73684e97fabbe3064.zip
test: fix over-dependence on native promise impl
In later versions of V8, the stack trace will be different than our current expectations for Promise methods. PR-URL: https://github.com/nodejs/node/pull/11437 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
Diffstat (limited to 'test/message')
-rw-r--r--test/message/unhandled_promise_trace_warnings.out4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/message/unhandled_promise_trace_warnings.out b/test/message/unhandled_promise_trace_warnings.out
index e5432bdf99..603333e64a 100644
--- a/test/message/unhandled_promise_trace_warnings.out
+++ b/test/message/unhandled_promise_trace_warnings.out
@@ -23,8 +23,8 @@
at getAsynchronousRejectionWarningObject (internal/process/promises.js:*)
at rejectionHandled (internal/process/promises.js:*)
at *
- at Promise.then (native)
- at Promise.catch (native)
+ at Promise.then *
+ at Promise.catch *
at Immediate.setImmediate (*test*message*unhandled_promise_trace_warnings.js:*)
at *
at *