upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / vim-editorconfig / trunk / vim-editorconfig-1.1.1-tests.patch
blob58fd4f65a7e9523e2668770031f6ccba736eeead
1 diff -ruN a/tests/plugin/spec/editorconfig_spec.rb b/tests/plugin/spec/editorconfig_spec.rb
2 --- a/tests/plugin/spec/editorconfig_spec.rb 2020-06-02 03:15:12.000000000 +0200
3 +++ b/tests/plugin/spec/editorconfig_spec.rb 2020-06-03 20:40:18.039124754 +0200
4 @@ -30,14 +30,14 @@
5 vim.kill
6 end
8 - describe '#all' do
9 - it '3_space.py' do
10 - test_editorconfig vim, '3_space.txt',
11 - expandtab: '1',
12 - shiftwidth: '3',
13 - tabstop: '3'
14 - end
15 - end
16 +# describe '#all' do
17 +# it '3_space.py' do
18 +# test_editorconfig vim, '3_space.txt',
19 +# expandtab: '1',
20 +# shiftwidth: '3',
21 +# tabstop: '3'
22 +# end
23 +# end
25 it '4_space.py' do
26 test_editorconfig vim, '4_space.py',
27 @@ -76,55 +76,55 @@
28 fileformat: 'unix'
29 end
31 - it 'crlf.txt' do
32 - test_editorconfig vim, 'crlf.txt',
33 - fileformat: 'dos'
34 - end
36 - it 'cr.txt' do
37 - test_editorconfig vim, 'cr.txt',
38 - fileformat: 'mac'
39 - end
41 - it 'utf-8.txt' do
42 - test_editorconfig vim, 'utf-8.txt',
43 - fileencoding: 'utf-8',
44 - bomb: '0'
45 - end
47 - it 'utf-8-bom.txt' do
48 - test_editorconfig vim, 'utf-8-bom.txt',
49 - fileencoding: 'utf-8',
50 - bomb: '1'
51 - end
53 - it 'utf-16be.txt' do
54 - test_editorconfig vim, 'utf-16be.txt',
55 - fileencoding: 'utf-16'
56 - end
58 - it 'utf-16le.txt' do
59 - test_editorconfig vim, 'utf-16le.txt',
60 - fileencoding: 'utf-16le'
61 - end
63 - it 'latin1.txt' do
64 - test_editorconfig vim, 'latin1.txt',
65 - fileencoding: 'latin1'
66 - end
67 +# it 'crlf.txt' do
68 +# test_editorconfig vim, 'crlf.txt',
69 +# fileformat: 'dos'
70 +# end
72 +# it 'cr.txt' do
73 +# test_editorconfig vim, 'cr.txt',
74 +# fileformat: 'mac'
75 +# end
77 +# it 'utf-8.txt' do
78 +# test_editorconfig vim, 'utf-8.txt',
79 +# fileencoding: 'utf-8',
80 +# bomb: '0'
81 +# end
83 +# it 'utf-8-bom.txt' do
84 +# test_editorconfig vim, 'utf-8-bom.txt',
85 +# fileencoding: 'utf-8',
86 +# bomb: '1'
87 +# end
89 +# it 'utf-16be.txt' do
90 +# test_editorconfig vim, 'utf-16be.txt',
91 +# fileencoding: 'utf-16'
92 +# end
94 +# it 'utf-16le.txt' do
95 +# test_editorconfig vim, 'utf-16le.txt',
96 +# fileencoding: 'utf-16le'
97 +# end
99 +# it 'latin1.txt' do
100 +# test_editorconfig vim, 'latin1.txt',
101 +# fileencoding: 'latin1'
102 +# end
104 # insert_final_newline by PreserveNoEOL tests are omitted, since they are not supported
105 - if vim.echo("exists('+fixendofline')") == '1'
106 - it 'with_newline.txt' do
107 - test_editorconfig vim, 'with_newline.txt',
108 - fixendofline: '1'
109 - end
111 - it 'without_newline.txt' do
112 - test_editorconfig vim, 'without_newline.txt',
113 - fixendofline: '0'
114 - end
115 - end
116 +# if vim.echo("exists('+fixendofline')") == '1'
117 +# it 'with_newline.txt' do
118 +# test_editorconfig vim, 'with_newline.txt',
119 +# fixendofline: '1'
120 +# end
122 +# it 'without_newline.txt' do
123 +# test_editorconfig vim, 'without_newline.txt',
124 +# fixendofline: '0'
125 +# end
126 +# end