Browse Source

test: remove faulty test case

PR-URL: https://github.com/nodejs/node/pull/15110
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
canary-base
Ruben Bridgewater 7 years ago
parent
commit
f154c83226
No known key found for this signature in database GPG Key ID: F07496B3EB3C1762
  1. 18
      test/message/stack_overflow_async.js
  2. 4
      test/message/stack_overflow_async.out

18
test/message/stack_overflow_async.js

@ -1,18 +0,0 @@
// Flags: --stack_trace_limit=3
'use strict';
require('../common');
async function f() {
await f();
}
async function g() {
try {
await f();
} catch (e) {
console.log(e);
}
}
g();

4
test/message/stack_overflow_async.out

@ -1,4 +0,0 @@
RangeError: Maximum call stack size exceeded
at f (*test*message*stack_overflow_async.js:*)
at f (*test*message*stack_overflow_async.js:7:*)
at f (*test*message*stack_overflow_async.js:7:*)
Loading…
Cancel
Save