diff options
Diffstat (limited to 'src/testdir/test_textprop.vim')
-rw-r--r-- | src/testdir/test_textprop.vim | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/testdir/test_textprop.vim b/src/testdir/test_textprop.vim index b459413bd..072056759 100644 --- a/src/testdir/test_textprop.vim +++ b/src/testdir/test_textprop.vim @@ -219,15 +219,15 @@ def Test_prop_find2() # Multiple props per line, start on the first, should find the second. new ['the quikc bronw fox jumsp over the layz dog']->repeat(2)->setline(1) - prop_type_add('misspell', #{highlight: 'ErrorMsg'}) + prop_type_add('misspell', {highlight: 'ErrorMsg'}) for lnum in [1, 2] for col in [8, 14, 24, 38] - prop_add(lnum, col, #{type: 'misspell', length: 2}) + prop_add(lnum, col, {type: 'misspell', length: 2}) endfor endfor cursor(1, 8) - 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') + 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') @@ -322,7 +322,7 @@ func Test_prop_remove() endfunc def Test_prop_add_vim9() - prop_type_add('comment', #{ + prop_type_add('comment', { highlight: 'Directory', priority: 123, start_incl: true, @@ -336,7 +336,7 @@ def Test_prop_remove_vim9() new AddPropTypes() SetupPropsInFirstLine() - assert_equal(1, prop_remove({'type': 'three', 'id': 13, 'both': true, 'all': true})) + assert_equal(1, prop_remove({type: 'three', id: 13, both: true, all: true})) DeletePropTypes() bwipe! enddef |