[patch] Delete Xundofile in test_undo properly

9 views
Skip to first unread message

Christian Brabandt

unread,
Sep 13, 2019, 3:41:05 PM9/13/19
to vim...@vim.org
Bram,
test_undo.vim leaves an Xundofile around, because the delete() call has
been commented out.


diff --git a/src/testdir/test_undo.vim b/src/testdir/test_undo.vim
index c42427306..4a534ae63 100644
--- a/src/testdir/test_undo.vim
+++ b/src/testdir/test_undo.vim
@@ -350,7 +350,7 @@ func Test_undofile_truncated()
endfor

bwipe!
-" call delete('Xundofile')
+ call delete('Xundofile')
endfunc

" Test for undo working properly when executing commands from a register.


Best,
Christian
--
Genie ist 1% Eingebung und 99% Schweiß.
-- Thomas Alva Edison

Bram Moolenaar

unread,
Sep 13, 2019, 3:49:11 PM9/13/19
to vim...@googlegroups.com, Christian Brabandt, vim...@vim.org

Christian wrote:

> test_undo.vim leaves an Xundofile around, because the delete() call has
> been commented out.
>
>
> diff --git a/src/testdir/test_undo.vim b/src/testdir/test_undo.vim
> index c42427306..4a534ae63 100644
> --- a/src/testdir/test_undo.vim
> +++ b/src/testdir/test_undo.vim
> @@ -350,7 +350,7 @@ func Test_undofile_truncated()
> endfor
>
> bwipe!
> -" call delete('Xundofile')
> + call delete('Xundofile')
> endfunc
>
> " Test for undo working properly when executing commands from a register.

Must have been from debugging. Thanks for reporting.

--
hundred-and-one symptoms of being an internet addict:
248. You sign your letters with your e-mail address instead of your name.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages