From db1ba5958ab3ad1e5acaa6f31f795530a2864072 Mon Sep 17 00:00:00 2001 From: Dmitry Vasilev Date: Fri, 16 Jun 2023 08:12:05 +0300 Subject: [PATCH] fix test --- test/test.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/test.js b/test/test.js index 9998fa7..30fb147 100644 --- a/test/test.js +++ b/test/test.js @@ -2451,9 +2451,10 @@ const y = x()` // Check that when we move cursor inside unreachable function, find_call // not called again + assert_equal(s2.eval_cxt != null, true) const s3 = COMMANDS.move_cursor( - // Set calltree_actions to null, ensure it would not be called again - {...s2, calltree_actions: null}, + // Set eval_cxt to null, ensure it would not be called again + {...s2, eval_cxt: null}, code.indexOf('2') ) assert_equal(s3.active_calltree_node, null)