comparison src/testdir/test_tabpage.vim @ 21552:cbc570e66d11 v8.2.1326

patch 8.2.1326: Vim9: skipping over white space after list Commit: https://github.com/vim/vim/commit/9d489566815d7913afc5dfc2a772bacede3970fb Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jul 30 20:08:50 2020 +0200 patch 8.2.1326: Vim9: skipping over white space after list Problem: Vim9: skipping over white space after list. Solution: Do not skip white space, a following [] would be misinterpreted. (closes #6552) Fix a few side effects.
author Bram Moolenaar <Bram@vim.org>
date Thu, 30 Jul 2020 20:15:05 +0200
parents a422bd80b434
children 22583b9d4efd
comparison
equal deleted inserted replaced
21551:24c7210c4134 21552:cbc570e66d11
348 call Check_tab_count(6, '3' . cmd, 3) 348 call Check_tab_count(6, '3' . cmd, 3)
349 call Check_tab_count(6, '8' . cmd, 4) 349 call Check_tab_count(6, '8' . cmd, 4)
350 call Check_tab_count(6, cmd . ' 3', 3) 350 call Check_tab_count(6, cmd . ' 3', 3)
351 call Check_tab_count(6, cmd . ' 8', 4) 351 call Check_tab_count(6, cmd . ' 8', 4)
352 for n in range(2) 352 for n in range(2)
353 for c in ['0', '.+3', '+', '+2' , '-', '-2' , '$', '+99', '-99'] 353 for c in ['0', '.+3', '+', '+2', '-', '-2', '$', '+99', '-99']
354 if n == 0 " pre count 354 if n == 0 " pre count
355 let entire_cmd = c . cmd 355 let entire_cmd = c . cmd
356 let err_code = 'E16:' 356 let err_code = 'E16:'
357 else 357 else
358 let entire_cmd = cmd . ' ' . c 358 let entire_cmd = cmd . ' ' . c