1
0
forked from aniani/vim

patch 8.2.1766: Vim9: Some tests are still using :let

Problem:    Vim9: Some tests are still using :let.
Solution:   Change the last few declarations to use :var.
This commit is contained in:
Bram Moolenaar
2020-09-27 22:47:05 +02:00
parent 9830938e77
commit 7a9cbca00a
11 changed files with 177 additions and 187 deletions

View File

@@ -226,8 +226,8 @@ def Test_prop_find2()
endfor
endfor
cursor(1, 8)
let expected = {'lnum': 1, 'id': 0, 'col': 14, 'end': 1, 'type': 'misspell', 'length': 2, 'start': 1}
let result = prop_find(#{type: 'misspell', skipstart: true}, 'f')
var expected = {'lnum': 1, 'id': 0, 'col': 14, 'end': 1, 'type': 'misspell', 'length': 2, 'start': 1}
var result = prop_find(#{type: 'misspell', skipstart: true}, 'f')
assert_equal(expected, result)
prop_type_delete('misspell')