From 8baab3c8d7a6f22888bd581cd5c6098fd2e4b5a8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 May 2024 04:44:24 +0200 Subject: Adding upstream version 2:8.1.0875. Signed-off-by: Daniel Baumann --- src/testdir/test_preview.vim | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/testdir/test_preview.vim (limited to 'src/testdir/test_preview.vim') diff --git a/src/testdir/test_preview.vim b/src/testdir/test_preview.vim new file mode 100644 index 0000000..91923fb --- /dev/null +++ b/src/testdir/test_preview.vim @@ -0,0 +1,13 @@ +" Tests for the preview window + +func Test_Psearch() + " this used to cause ml_get errors + help + let wincount = winnr('$') + 0f + ps. + call assert_equal(wincount + 1, winnr('$')) + pclose + call assert_equal(wincount, winnr('$')) + bwipe +endfunc -- cgit v1.2.3