summaryrefslogtreecommitdiff
path: root/src/testing.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-07-26 15:37:02 +0200
committerBram Moolenaar <Bram@vim.org>2020-07-26 15:37:02 +0200
commita5d0423fa16f18b4576a2a07e50034e489587a7d (patch)
tree67bfe997079bb1a9f17db6a829b29d6369a922a3 /src/testing.c
parentd66cdcd43a598825add743bc95642cd8ed705252 (diff)
downloadvim-git-a5d0423fa16f18b4576a2a07e50034e489587a7d.tar.gz
patch 8.2.1297: when a test fails it's often not easy to see wherev8.2.1297
Problem: When a test fails it's often not easy to see what the call stack is. Solution: Add more entries from the call stack in the exception message.
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 de89bd9fd..137d5fe9f 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();
+ char_u *sname = estack_sfile(FALSE);
ga_init2(gap, 1, 100);
if (sname != NULL)