summaryrefslogtreecommitdiff
path: root/src/testing.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-09-10 19:25:05 +0200
committerBram Moolenaar <Bram@vim.org>2020-09-10 19:25:05 +0200
commit4f25b1aba050b85fa97ca2316aa04dd4b0b22530 (patch)
tree9f051b3953c6eb88e6d5fc1cc5728d348fe626b3 /src/testing.c
parenta953b5cf4f291875b805262eebd361e502de8c92 (diff)
downloadvim-git-4f25b1aba050b85fa97ca2316aa04dd4b0b22530.tar.gz
patch 8.2.1653: expand('<stack>') does not include the final line numberv8.2.1653
Problem: Expand('<stack>') does not include the final line number. Solution: Add the line nuber. (closes #6927)
Diffstat (limited to 'src/testing.c')
-rw-r--r--src/testing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testing.c b/src/testing.c
index 8db7d62ed..811544103 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)