diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-14 06:32:00 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-08-15 10:14:52 +0800 |
commit | 98ab0bb5f7d2138be0b6019769e237e42aafad1a (patch) | |
tree | 6899f42d0caeed8cd23a386669b3adf40d987989 /src/nvim/testing.c | |
parent | 1c164689a4ef243be2a0e1b4332c9b6c56b5b031 (diff) | |
download | rneovim-98ab0bb5f7d2138be0b6019769e237e42aafad1a.tar.gz rneovim-98ab0bb5f7d2138be0b6019769e237e42aafad1a.tar.bz2 rneovim-98ab0bb5f7d2138be0b6019769e237e42aafad1a.zip |
vim-patch:8.2.1297: when a test fails it's often not easy to see where
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.
https://github.com/vim/vim/commit/a5d0423fa16f18b4576a2a07e50034e489587a7d
Use docs from latest Vim.
Diffstat (limited to 'src/nvim/testing.c')
-rw-r--r-- | src/nvim/testing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testing.c b/src/nvim/testing.c index de6d445ba3..97bc690363 100644 --- a/src/nvim/testing.c +++ b/src/nvim/testing.c @@ -18,7 +18,7 @@ static void prepare_assert_error(garray_T *gap) { char buf[NUMBUFLEN]; - char *sname = estack_sfile(); + char *sname = estack_sfile(false); ga_init(gap, 1, 100); if (sname != NULL) { |