mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 21:14:28 -08:00
fix test
This commit is contained in:
@@ -2451,9 +2451,10 @@ const y = x()`
|
|||||||
|
|
||||||
// Check that when we move cursor inside unreachable function, find_call
|
// Check that when we move cursor inside unreachable function, find_call
|
||||||
// not called again
|
// not called again
|
||||||
|
assert_equal(s2.eval_cxt != null, true)
|
||||||
const s3 = COMMANDS.move_cursor(
|
const s3 = COMMANDS.move_cursor(
|
||||||
// Set calltree_actions to null, ensure it would not be called again
|
// Set eval_cxt to null, ensure it would not be called again
|
||||||
{...s2, calltree_actions: null},
|
{...s2, eval_cxt: null},
|
||||||
code.indexOf('2')
|
code.indexOf('2')
|
||||||
)
|
)
|
||||||
assert_equal(s3.active_calltree_node, null)
|
assert_equal(s3.active_calltree_node, null)
|
||||||
|
|||||||
Reference in New Issue
Block a user