commit | 4f25b1aba050b85fa97ca2316aa04dd4b0b22530 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Sep 10 19:25:05 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Sep 10 19:25:05 2020 +0200 |
tree | 9f051b3953c6eb88e6d5fc1cc5728d348fe626b3 | |
parent | a953b5cf4f291875b805262eebd361e502de8c92 [diff] [blame] |
patch 8.2.1653: expand('<stack>') does not include the final line number Problem: Expand('<stack>') does not include the final line number. Solution: Add the line nuber. (closes #6927)
diff --git a/src/testing.c b/src/testing.c index 8db7d62..8115441 100644 --- a/src/testing.c +++ b/src/testing.c
@@ -22,7 +22,7 @@ prepare_assert_error(garray_T *gap) { char buf[NUMBUFLEN]; - char_u *sname = estack_sfile(FALSE); + char_u *sname = estack_sfile(ESTACK_NONE); ga_init2(gap, 1, 100); if (sname != NULL)