diff src/testdir/test_autocmd_option.ok @ 7156:0b4e65cf84fb v7.4.889

commit https://github.com/vim/vim/commit/74b738d414b2895b3365e26ae3b7792eb82ccf47 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 29 18:08:33 2015 +0200 patch 7.4.889 Problem: Triggering OptionSet from setwinvar() isn't tested. Solution: Add a test. (Christian Brabandt)
author Christian Brabandt <cb@256bit.org>
date Tue, 29 Sep 2015 18:15:04 +0200
parents d37e168dee20
children
line wrap: on
line diff
--- a/src/testdir/test_autocmd_option.ok
+++ b/src/testdir/test_autocmd_option.ok
@@ -56,4 +56,9 @@ 13: Setting option backspace through set
 Expected: Name: <backup>, Oldval: <>, NewVal: <1>, Scope: <local>
 Autocmd Option: <backup>, OldVal: <0>, NewVal: <1>, Scope: <local>
 
-14: Setting key option, shouldn't trigger
+14: Setting number option using setwinvar
+Expected: Name: <number>, Oldval: <0>, NewVal: <1>, Scope: <local>
+Autocmd Option: <number>, OldVal: <0>, NewVal: <1>, Scope: <local>
+
+15: Setting key option, shouldn't trigger
+