@@ -12,7 +12,7 @@ describe('Tangle', function()
12
12
})
13
13
vim .cmd (' norm ,obt' )
14
14
local tangled_file = vim .fn .fnamemodify (file .filename , ' :r' ) .. ' .lua'
15
- assert .is .Nil (vim .loop .fs_stat (tangled_file ))
15
+ assert .is .Nil (vim .uv .fs_stat (tangled_file ))
16
16
end )
17
17
18
18
it (' should tangle a file when enabled in config' , function ()
@@ -30,7 +30,7 @@ describe('Tangle', function()
30
30
})
31
31
vim .cmd (' norm ,obt' )
32
32
local tangled_file = vim .fn .fnamemodify (file .filename , ' :r' ) .. ' .lua'
33
- assert .is .Not .Nil (vim .loop .fs_stat (tangled_file ))
33
+ assert .is .Not .Nil (vim .uv .fs_stat (tangled_file ))
34
34
assert .are .same ({
35
35
' print("test first line")' ,
36
36
' print("test first second line")' ,
@@ -54,7 +54,7 @@ describe('Tangle', function()
54
54
})
55
55
vim .cmd (' norm ,obt' )
56
56
local tangled_file = vim .fn .fnamemodify (file .filename , ' :r' ) .. ' .lua'
57
- assert .is .Not .Nil (vim .loop .fs_stat (tangled_file ))
57
+ assert .is .Not .Nil (vim .uv .fs_stat (tangled_file ))
58
58
assert .are .same ({
59
59
' print("test first line")' ,
60
60
' print("test first second line")' ,
@@ -74,7 +74,7 @@ describe('Tangle', function()
74
74
})
75
75
vim .cmd (' norm ,obt' )
76
76
local tangled_file = vim .fn .fnamemodify (file .filename , ' :r' ) .. ' .lua'
77
- assert .is .Not .Nil (vim .loop .fs_stat (tangled_file ))
77
+ assert .is .Not .Nil (vim .uv .fs_stat (tangled_file ))
78
78
assert .are .same ({
79
79
' print("test first line")' ,
80
80
' print("test first second line")' ,
@@ -91,7 +91,7 @@ describe('Tangle', function()
91
91
})
92
92
vim .cmd (' norm ,obt' )
93
93
local tangled_file = vim .fn .fnamemodify (file .filename , ' :r' ) .. ' .lua'
94
- assert .is .Not .Nil (vim .loop .fs_stat (tangled_file ))
94
+ assert .is .Not .Nil (vim .uv .fs_stat (tangled_file ))
95
95
assert .are .same ({
96
96
' print("test first line")' ,
97
97
' print("test first second line")' ,
@@ -109,7 +109,7 @@ describe('Tangle', function()
109
109
})
110
110
vim .cmd (' norm ,obt' )
111
111
local tangled_file = vim .fn .fnamemodify (file .filename , ' :r' ) .. ' .lua'
112
- assert .is .Nil (vim .loop .fs_stat (tangled_file ))
112
+ assert .is .Nil (vim .uv .fs_stat (tangled_file ))
113
113
end )
114
114
end )
115
115
@@ -131,7 +131,7 @@ describe('Tangle', function()
131
131
vim .cmd (' norm ,obt' )
132
132
133
133
local tangled_file = vim .fn .fnamemodify (file .filename , ' :r' ) .. ' .lua'
134
- assert .is .Not .Nil (vim .loop .fs_stat (tangled_file ))
134
+ assert .is .Not .Nil (vim .uv .fs_stat (tangled_file ))
135
135
assert .are .same ({
136
136
' print("Headline first line")' ,
137
137
' print("Headline second line")' ,
@@ -158,7 +158,7 @@ describe('Tangle', function()
158
158
vim .cmd (' norm ,obt' )
159
159
160
160
local tangled_file = vim .fn .fnamemodify (file .filename , ' :r' ) .. ' .lua'
161
- assert .is .Not .Nil (vim .loop .fs_stat (tangled_file ))
161
+ assert .is .Not .Nil (vim .uv .fs_stat (tangled_file ))
162
162
assert .are .same ({
163
163
' print("Other headline first line")' ,
164
164
' print("Other headline second line")' ,
@@ -184,7 +184,7 @@ describe('Tangle', function()
184
184
})
185
185
vim .cmd (' norm ,obt' )
186
186
187
- assert .is .Not .Nil (vim .loop .fs_stat (abs_path ))
187
+ assert .is .Not .Nil (vim .uv .fs_stat (abs_path ))
188
188
assert .are .same ({
189
189
' print("Headline first line")' ,
190
190
' print("Headline second line")' ,
@@ -212,7 +212,7 @@ describe('Tangle', function()
212
212
})
213
213
vim .cmd (' norm ,obt' )
214
214
215
- assert .is .Not .Nil (vim .loop .fs_stat (abs_path ))
215
+ assert .is .Not .Nil (vim .uv .fs_stat (abs_path ))
216
216
assert .are .same ({
217
217
' print("Headline first line")' ,
218
218
' print("Headline second line")' ,
@@ -240,7 +240,7 @@ describe('Tangle', function()
240
240
})
241
241
vim .cmd (' norm ,obt' )
242
242
243
- assert .is .Not .Nil (vim .loop .fs_stat (abs_path ))
243
+ assert .is .Not .Nil (vim .uv .fs_stat (abs_path ))
244
244
assert .are .same ({
245
245
' print("Headline first line")' ,
246
246
' print("Headline second line")' ,
@@ -269,8 +269,8 @@ describe('Tangle', function()
269
269
})
270
270
vim .cmd (' norm ,obt' )
271
271
272
- assert .is .Not .Nil (vim .loop .fs_stat (abs_path ))
273
- assert .is .Not .Nil (vim .loop .fs_stat (single_block_abs_path ))
272
+ assert .is .Not .Nil (vim .uv .fs_stat (abs_path ))
273
+ assert .is .Not .Nil (vim .uv .fs_stat (single_block_abs_path ))
274
274
assert .are .same ({
275
275
' print("Headline first line")' ,
276
276
' print("Headline second line")' ,
@@ -302,7 +302,7 @@ describe('Tangle', function()
302
302
vim .cmd (' norm ,obt' )
303
303
304
304
local tangled_file = vim .fn .fnamemodify (file .filename , ' :r' ) .. ' .lua'
305
- assert .is .Not .Nil (vim .loop .fs_stat (tangled_file ))
305
+ assert .is .Not .Nil (vim .uv .fs_stat (tangled_file ))
306
306
assert .are .same ({
307
307
' print("Other headline first line")' ,
308
308
' print("Other headline second line")' ,
@@ -333,7 +333,7 @@ describe('Tangle', function()
333
333
vim .cmd (' norm ,obt' )
334
334
335
335
local tangled_file = vim .fn .fnamemodify (file .filename , ' :r' ) .. ' .lua'
336
- assert .is .Not .Nil (vim .loop .fs_stat (tangled_file ))
336
+ assert .is .Not .Nil (vim .uv .fs_stat (tangled_file ))
337
337
assert .are .same ({
338
338
' print("Other headline first line")' ,
339
339
' print("Other headline second line")' ,
@@ -361,7 +361,7 @@ describe('Tangle', function()
361
361
vim .cmd (' norm ,obt' )
362
362
363
363
local tangled_file = vim .fn .fnamemodify (file .filename , ' :r' ) .. ' .lua'
364
- assert .is .Not .Nil (vim .loop .fs_stat (tangled_file ))
364
+ assert .is .Not .Nil (vim .uv .fs_stat (tangled_file ))
365
365
assert .are .same ({
366
366
' <<otherblock>>' ,
367
367
' print("Headline first line")' ,
@@ -391,7 +391,7 @@ describe('Tangle', function()
391
391
vim .cmd (' norm ,obt' )
392
392
393
393
local tangled_file = vim .fn .fnamemodify (file .filename , ' :r' ) .. ' .lua'
394
- assert .is .Not .Nil (vim .loop .fs_stat (tangled_file ))
394
+ assert .is .Not .Nil (vim .uv .fs_stat (tangled_file ))
395
395
assert .are .same ({
396
396
' print("Other headline first line")' ,
397
397
' print("Other headline second line")' ,
0 commit comments