comparison src/testdir/test_viminfo.vim @ 24958:21ec48d542a8 v8.2.3016

patch 8.2.3016: confusing error when expression is followed by comma Commit: https://github.com/vim/vim/commit/fae55a9cb0838e4c2e634e55a3468af4a75fbdf2 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 17 22:08:30 2021 +0200 patch 8.2.3016: confusing error when expression is followed by comma Problem: Confusing error when expression is followed by comma. Solution: Give a different error for trailing text. (closes https://github.com/vim/vim/issues/8395)
author Bram Moolenaar <Bram@vim.org>
date Thu, 17 Jun 2021 22:15:03 +0200
parents dc3d45d9a4a8
children 4cb423b9250d
comparison
equal deleted inserted replaced
24957:674d99f8705f 24958:21ec48d542a8
126 \ "!GLOB_BLOB_2\tBLO\t012", 126 \ "!GLOB_BLOB_2\tBLO\t012",
127 \ "!GLOB_BLOB_3\tBLO\t0z1x", 127 \ "!GLOB_BLOB_3\tBLO\t0z1x",
128 \ "!GLOB_BLOB_4\tBLO\t0z12 ab", 128 \ "!GLOB_BLOB_4\tBLO\t0z12 ab",
129 \ "!GLOB_LIST_1\tLIS\t1 2", 129 \ "!GLOB_LIST_1\tLIS\t1 2",
130 \ "!GLOB_DICT_1\tDIC\t1 2"], 'Xviminfo') 130 \ "!GLOB_DICT_1\tDIC\t1 2"], 'Xviminfo')
131 call assert_fails('rv! Xviminfo', 'E15:') 131 call assert_fails('rv! Xviminfo', 'E488:')
132 call assert_equal('123', g:GLOB_BLOB_1) 132 call assert_equal('123', g:GLOB_BLOB_1)
133 call assert_equal(1, type(g:GLOB_BLOB_1)) 133 call assert_equal(1, type(g:GLOB_BLOB_1))
134 call assert_equal('012', g:GLOB_BLOB_2) 134 call assert_equal('012', g:GLOB_BLOB_2)
135 call assert_equal(1, type(g:GLOB_BLOB_2)) 135 call assert_equal(1, type(g:GLOB_BLOB_2))
136 call assert_equal('0z1x', g:GLOB_BLOB_3) 136 call assert_equal('0z1x', g:GLOB_BLOB_3)