From 254b105b755d9736ece5f7f28db92acaf3e7bf76 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 10 Jan 2016 16:10:17 +0100 Subject: [PATCH] patch 7.4.1081 Problem: No test for what previously caused a crash. Solution: Add test for unletting errmsg. --- src/testdir/test_unlet.vim | 6 ++++++ src/version.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/src/testdir/test_unlet.vim b/src/testdir/test_unlet.vim index f6705997a..13ec66b10 100644 --- a/src/testdir/test_unlet.vim +++ b/src/testdir/test_unlet.vim @@ -7,6 +7,12 @@ func Test_read_only() catch call assert_true(v:exception =~ ':E795:') endtry + try + " this caused a crash + unlet errmsg + catch + call assert_true(v:exception =~ ':E795:') + endtry endfunc func Test_existing() diff --git a/src/version.c b/src/version.c index 449dd55b8..5bfab59d1 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1081, /**/ 1080, /**/ -- 2.50.1