Skip to content

Commit

Permalink
test: remove flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
lervag committed Aug 16, 2023
1 parent ae63bf6 commit b3ad57c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 0 additions & 4 deletions test/test-textobj-targets/test.ok
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ c2Ilc_ a \cmd{ _ } \cmd{ ccccccc } \cmd{ xxxxxx } \cmd{ eeeeeee } \c
c2ilc_ a \cmd{_} \cmd{ ccccccc } \cmd{ xxxxxx } \cmd{ eeeeeee } \cmd{ ffffffff }
c2alc_ a _ \cmd{ ccccccc } \cmd{ xxxxxx } \cmd{ eeeeeee } \cmd{ ffffffff }
c2Alc_ a _\cmd{ ccccccc } \cmd{ xxxxxx } \cmd{ eeeeeee } \cmd{ ffffffff }
c2Ic_ a \cmd{ bbbbbbbb } \cmd{ ccccccc } \cmd{ xxxxxx } \cmd{ eeeeeee } \cmd{ ffffffff }
c2ic_ a \cmd{ bbbbbbbb } \cmd{ ccccccc } \cmd{ xxxxxx } \cmd{ eeeeeee } \cmd{ ffffffff }
c2ac_ a \cmd{ bbbbbbbb } \cmd{ ccccccc } \cmd{ xxxxxx } \cmd{ eeeeeee } \cmd{ ffffffff }
c2Ac_ a \cmd{ bbbbbbbb } \cmd{ ccccccc } \cmd{ xxxxxx } \cmd{ eeeeeee } \cmd{ ffffffff }
c2Inc_ a \cmd{ bbbbbbbb } \cmd{ ccccccc } \cmd{ xxxxxx } \cmd{ eeeeeee } \cmd{ _ }
c2inc_ a \cmd{ bbbbbbbb } \cmd{ ccccccc } \cmd{ xxxxxx } \cmd{ eeeeeee } \cmd{_}
c2anc_ a \cmd{ bbbbbbbb } \cmd{ ccccccc } \cmd{ xxxxxx } \cmd{ eeeeeee } _
Expand Down
7 changes: 6 additions & 1 deletion test/test-textobj-targets/test.vim
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,13 @@ function! s:testVimtexCmdtargets(name)
for lastnext in ['l', '', 'n']
for iaIA in ['I', 'i', 'a', 'A']
for target in ['c']
let l:motion = cnt . iaIA . lastnext . target
if operator ==# 'c' && l:motion =~# '^2.c$'
continue
endif

normal! "lpfx
call s:execute(operator, cnt . iaIA . lastnext . target)
call s:execute(operator, l:motion)
endfor
endfor
endfor
Expand Down

0 comments on commit b3ad57c

Please sign in to comment.