comparison src/testdir/test_vim9_cmd.vim @ 23422:bb0c53f4ef8b v8.2.2254

patch 8.2.2254: Vim9: bool option type is number Commit: https://github.com/vim/vim/commit/dd1f426bd617ac6a775f2e7795ff0b159e3fa315 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 31 17:41:01 2020 +0100 patch 8.2.2254: Vim9: bool option type is number Problem: Vim9: bool option type is number. Solution: Have get_option_value() return a different value for bool and number options. (closes #7583)
author Bram Moolenaar <Bram@vim.org>
date Thu, 31 Dec 2020 17:45:04 +0100
parents 40f824f5c7c7
children 5807e3958e38
comparison
equal deleted inserted replaced
23421:4ac86caf4c42 23422:bb0c53f4ef8b
588 assert_equal(0, g:readFile) 588 assert_equal(0, g:readFile)
589 au! BufNewFile 589 au! BufNewFile
590 unlet g:readFile 590 unlet g:readFile
591 591
592 noswapfile edit XnoSwap 592 noswapfile edit XnoSwap
593 assert_equal(0, &l:swapfile) 593 assert_equal(false, &l:swapfile)
594 bwipe! 594 bwipe!
595 595
596 var caught = false 596 var caught = false
597 try 597 try
598 sandbox !ls 598 sandbox !ls