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