neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit ad06c1c1c63f6fa5b5158f5e89e90468fd92ebba
parent c4c5bcd2b250808e9465d5a403b6749042d077b1
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Wed, 19 Apr 2023 10:24:57 +0800

vim-patch:9.0.0426: failed flaky tests reports only start time

Problem:    Failed flaky tests reports only start time.
Solution:   Also report the end time.

https://github.com/vim/vim/commit/65258d36ddfab371c7982343efc9b2533ba39075

Co-authored-by: Bram Moolenaar <Bram@vim.org>

Diffstat:
Mtest/old/testdir/runtest.vim | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/old/testdir/runtest.vim b/test/old/testdir/runtest.vim @@ -449,7 +449,8 @@ for g:testfunc in sort(s:tests) call add(s:messages, 'Found errors in ' .. g:testfunc .. ':') call extend(s:messages, v:errors) - call add(total_errors, starttime .. ' Run ' .. g:run_nr .. ':') + let endtime = strftime("%H:%M:%S") + call add(total_errors, $'Run {g:run_nr}, {starttime} - {endtime}:') call extend(total_errors, v:errors) if g:run_nr >= 5 || prev_error == v:errors[0]