mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
test/old: run some tests from test_listlbr.vim
These tests pass without 'set encoding=latin1'.
This commit is contained in:
parent
1c49695d12
commit
ff870232b8
@ -36,11 +36,9 @@ NEW_TESTS_IN_ALOT := $(shell sed -n '/^source/ s/^source //; s/\.vim$$//p' $(add
|
|||||||
NEW_TESTS_IN_ALOT_LATIN := $(shell sed -n '/^source/ s/^source //; s/\.vim$$//p' test_alot_latin.vim)
|
NEW_TESTS_IN_ALOT_LATIN := $(shell sed -n '/^source/ s/^source //; s/\.vim$$//p' test_alot_latin.vim)
|
||||||
# Ignored tests.
|
# Ignored tests.
|
||||||
# test_alot_latin: Nvim does not allow setting encoding.
|
# test_alot_latin: Nvim does not allow setting encoding.
|
||||||
# test_listlbr: Nvim does not allow setting encoding.
|
|
||||||
# test_largefile: uses too much resources to run on CI.
|
# test_largefile: uses too much resources to run on CI.
|
||||||
NEW_TESTS_IGNORE := \
|
NEW_TESTS_IGNORE := \
|
||||||
test_alot_latin $(NEW_TESTS_IN_ALOT_LATIN) \
|
test_alot_latin $(NEW_TESTS_IN_ALOT_LATIN) \
|
||||||
test_listlbr \
|
|
||||||
test_largefile \
|
test_largefile \
|
||||||
|
|
||||||
NEW_TESTS := $(sort $(basename $(notdir $(wildcard test_*.vim))))
|
NEW_TESTS := $(sort $(basename $(notdir $(wildcard test_*.vim))))
|
||||||
|
@ -1,9 +1,5 @@
|
|||||||
" Test for linebreak and list option (non-utf8)
|
" Test for linebreak and list option (non-utf8)
|
||||||
|
|
||||||
" Nvim does not allow setting 'encoding', so skip this test.
|
|
||||||
finish
|
|
||||||
|
|
||||||
set encoding=latin1
|
|
||||||
scriptencoding latin1
|
scriptencoding latin1
|
||||||
|
|
||||||
if !exists("+linebreak") || !has("conceal")
|
if !exists("+linebreak") || !has("conceal")
|
||||||
@ -46,6 +42,7 @@ func Test_set_linebreak()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_linebreak_with_list()
|
func Test_linebreak_with_list()
|
||||||
|
throw 'skipped: Nvim does not support enc=latin1'
|
||||||
call s:test_windows('setl ts=4 sbr=+ list listchars=')
|
call s:test_windows('setl ts=4 sbr=+ list listchars=')
|
||||||
call setline(1, "\tabcdef hijklmn\tpqrstuvwxyz_1060ABCDEFGHIJKLMNOP ")
|
call setline(1, "\tabcdef hijklmn\tpqrstuvwxyz_1060ABCDEFGHIJKLMNOP ")
|
||||||
let lines = s:screen_lines([1, 4], winwidth(0))
|
let lines = s:screen_lines([1, 4], winwidth(0))
|
||||||
@ -217,6 +214,7 @@ func Test_norm_after_block_visual()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_block_replace_after_wrapping()
|
func Test_block_replace_after_wrapping()
|
||||||
|
throw 'skipped: Nvim does not support enc=latin1'
|
||||||
call s:test_windows()
|
call s:test_windows()
|
||||||
call setline(1, repeat("a", 150))
|
call setline(1, repeat("a", 150))
|
||||||
exe "norm! 0yypk147|\<C-V>jr0"
|
exe "norm! 0yypk147|\<C-V>jr0"
|
||||||
|
Loading…
Reference in New Issue
Block a user