Fix test extensions
This commit is contained in:
parent
1d9a032a66
commit
0475f2b8d1
@ -10,12 +10,14 @@ describe "My Vim plugin" do
|
|||||||
extensions = extensions.split(/[\n,]/)
|
extensions = extensions.split(/[\n,]/)
|
||||||
|
|
||||||
extensions.each do |ext|
|
extensions.each do |ext|
|
||||||
it "should parse #{ext} file" do
|
if ext.match?(/[a-z\.]+/i)
|
||||||
Timeout::timeout(20) do
|
it "should parse #{ext} file" do
|
||||||
write_file "#{ext}", ""
|
Timeout::timeout(20) do
|
||||||
vim.edit "#{ext}"
|
write_file "#{ext}", ""
|
||||||
vim.insert "sample"
|
vim.edit "#{ext}"
|
||||||
vim.write
|
vim.insert "sample"
|
||||||
|
vim.write
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user