Skip to content

Commit

Permalink
fixup! oldtests
Browse files Browse the repository at this point in the history
  • Loading branch information
ii14 committed Mar 12, 2023
1 parent ab235ae commit 875b3a2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions test/old/testdir/test_edit.vim
Original file line number Diff line number Diff line change
Expand Up @@ -861,12 +861,12 @@ func Test_edit_CTRL_T()
call feedkeys("A\<c-t>xyz", 'tnix')
call assert_equal(["\<tab>abcxyz"], getline(1, '$'))
" 2) also when paste option is set
set paste
call setline(1, "abc")
call cursor(1, 1)
call feedkeys("A\<c-t>xyz", 'tnix')
call assert_equal(["\<tab>abcxyz"], getline(1, '$'))
set nopaste
" set paste
" call setline(1, "abc")
" call cursor(1, 1)
" call feedkeys("A\<c-t>xyz", 'tnix')
" call assert_equal(["\<tab>abcxyz"], getline(1, '$'))
" set nopaste
" CTRL-X CTRL-T (thesaurus complete)
call writefile(['angry furious mad enraged'], 'Xthesaurus')
set thesaurus=Xthesaurus
Expand Down
2 changes: 1 addition & 1 deletion test/old/testdir/test_options.vim
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ endfunc

" Test for getting the value of 'pastetoggle'
func Test_pastetoggle()
throw "'paste' and 'pastetoggle' is removed from neovim"
return " 'paste' and 'pastetoggle' is removed from neovim
" character with K_SPECIAL byte
let &pastetoggle = ''
call assert_equal('', &pastetoggle)
Expand Down

0 comments on commit 875b3a2

Please sign in to comment.