mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-11 04:53:51 -05:00
Move specs location one level down
This commit is contained in:
14
spec/loading_spec.rb
Normal file
14
spec/loading_spec.rb
Normal file
@@ -0,0 +1,14 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe "My Vim plugin" do
|
||||
languages = Dir["#{PLUGIN_PATH}/syntax/*.vim"].map { |f| f.split('/').last.gsub('.vim', '') }
|
||||
|
||||
languages.each do |lang|
|
||||
it "should parse .#{lang} file" do
|
||||
write_file "test.#{lang}", ""
|
||||
vim.edit "test.#{lang}"
|
||||
vim.insert "sample"
|
||||
vim.write
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user